Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 196 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.189/1.189, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000887/0.000887, allocations: 93.12 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1647/0.1647, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.146e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3995, allocations: 109.8 MB / 0.611 GB, free: 9.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.3998, allocations: 82.64 kB / 0.611 GB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1968/0.5966, allocations: 80.04 MB / 0.6892 GB, free: 1.602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001511/0.5968, allocations: 80 kB / 0.6893 GB, free: 1.523 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01468/0.6115, allocations: 4.332 MB / 0.6935 GB, free: 13.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6116, allocations: 8.031 kB / 0.6935 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008916/0.6205, allocations: 1.823 MB / 0.6953 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.631, allocations: 3.786 MB / 0.699 GB, free: 7.438 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.6312, allocations: 128 kB / 0.6991 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.6325, allocations: 239.9 kB / 0.6993 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01009/0.6426, allocations: 6.263 MB / 0.7055 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01397/0.6566, allocations: 9.384 MB / 0.7146 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/0.6568, allocations: 59.41 kB / 0.7147 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005291/0.6573, allocations: 28 kB / 0.7147 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/0.6586, allocations: 1.006 MB / 0.7157 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1925/0.8511, allocations: 44.73 MB / 0.7594 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.8541, allocations: 3.157 MB / 0.7625 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.8558, allocations: 1.764 MB / 0.7642 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007647/0.8635, allocations: 5.888 MB / 0.7699 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.8635, allocations: 48.47 kB / 0.77 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 3.928e-06/0.8636, allocations: 0 / 0.77 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=128): time 0.01691/0.8805, allocations: 10.49 MB / 0.7802 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.8806, allocations: 146.5 kB / 0.7804 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003931/0.8845, allocations: 3.035 MB / 0.7833 GB, free: 166.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.8848, allocations: 25.7 kB / 0.7833 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.8861, allocations: 2.876 MB / 0.7862 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.8866, allocations: 0.5215 MB / 0.7867 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.8868, allocations: 0 / 0.7867 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002519/0.887, allocations: 0.5438 MB / 0.7872 GB, free: 164 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.8891, allocations: 1.727 MB / 0.7889 GB, free: 164 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.8926, allocations: 5.41 MB / 0.7942 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/0.8959, allocations: 3.064 MB / 0.7972 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.585e-05/0.8959, allocations: 37.5 kB / 0.7972 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=740) (initialization): time 0.009872/0.9058, allocations: 6.822 MB / 0.8039 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9058, allocations: 10.06 kB / 0.8039 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-05/0.9059, allocations: 135.1 kB / 0.804 GB, free: 158.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.908, allocations: 0.8489 MB / 0.8048 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003366/0.9114, allocations: 1.309 MB / 0.8061 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/0.916, allocations: 4.483 MB / 0.8105 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/0.9199, allocations: 183.8 kB / 0.8107 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005242/0.9204, allocations: 359.7 kB / 0.811 GB, free: 156 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 697 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000697/0.9211, allocations: 430.8 kB / 0.8114 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/0.9215, allocations: 297.7 kB / 0.8117 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.9256, allocations: 2.356 MB / 0.814 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/0.9256, allocations: 12 kB / 0.814 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.9257, allocations: 6.156 kB / 0.814 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.9257, allocations: 6.625 kB / 0.814 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009565/0.9352, allocations: 5.593 MB / 0.8195 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.9353, allocations: 3.781 kB / 0.8195 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.9363, allocations: 189.6 kB / 0.8197 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/0.9382, allocations: 0.6419 MB / 0.8203 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.9384, allocations: 8.031 kB / 0.8203 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/0.9431, allocations: 4.096 MB / 0.8243 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9431, allocations: 7.031 kB / 0.8243 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005815/0.949, allocations: 4.511 MB / 0.8287 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.9496, allocations: 348 kB / 0.829 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.9499, allocations: 4 kB / 0.829 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.951, allocations: 52.3 kB / 0.8291 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.9512, allocations: 57.97 kB / 0.8292 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/0.9513, allocations: 43.09 kB / 0.8292 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002397/0.9537, allocations: 2.024 MB / 0.8312 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003819/0.9575, allocations: 0.7783 MB / 0.8319 GB, free: 144.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.9578, allocations: 138.7 kB / 0.8321 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004796/0.9626, allocations: 4.112 MB / 0.8361 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9626, allocations: 0 / 0.8361 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.9638, allocations: 1.141 MB / 0.8372 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.9654, allocations: 317.6 kB / 0.8375 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.976, allocations: 6.75 MB / 0.8441 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003186/0.9793, allocations: 3.424 MB / 0.8474 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/0.9793, allocations: 0 / 0.8474 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.0508/1.03, allocations: 30.33 MB / 0.8771 GB, free: 108.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches