Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009463/0.0009464, allocations: 185.3 kB / 7.799 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9741/0.9741, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007784/0.0007785, allocations: 87.64 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1433/0.1433, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.821e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3247, allocations: 107.7 MB / 0.5706 GB, free: 7.188 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.3249, allocations: 75.95 kB / 0.5706 GB, free: 7.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3443/0.6692, allocations: 82.24 MB / 0.651 GB, free: 108 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.6694, allocations: 85.42 kB / 0.651 GB, free: 108 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0145/0.6839, allocations: 4.427 MB / 0.6554 GB, free: 106.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6839, allocations: 10.19 kB / 0.6554 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008093/0.692, allocations: 1.823 MB / 0.6572 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009817/0.7019, allocations: 4.582 MB / 0.6616 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.7021, allocations: 136.8 kB / 0.6618 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.7033, allocations: 251.1 kB / 0.662 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008471/0.7118, allocations: 6.602 MB / 0.6684 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.7223, allocations: 9.824 MB / 0.678 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.7224, allocations: 66.25 kB / 0.6781 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.7229, allocations: 26.09 kB / 0.6781 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/0.7239, allocations: 1.073 MB / 0.6792 GB, free: 101.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03867/0.7626, allocations: 46.21 MB / 0.7243 GB, free: 67.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.7665, allocations: 3.335 MB / 0.7276 GB, free: 65.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.7688, allocations: 1.938 MB / 0.7295 GB, free: 64.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008796/0.7776, allocations: 6.308 MB / 0.7356 GB, free: 60.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.7777, allocations: 52.94 kB / 0.7357 GB, free: 60.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 4.148e-06/0.7777, allocations: 1.031 kB / 0.7357 GB, free: 60.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=149): time 0.01829/0.796, allocations: 11.35 MB / 0.7467 GB, free: 51.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.796, allocations: 141.3 kB / 0.7469 GB, free: 51.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/0.8001, allocations: 3.13 MB / 0.7499 GB, free: 48.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.8002, allocations: 26.22 kB / 0.75 GB, free: 48.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.8014, allocations: 3.018 MB / 0.7529 GB, free: 46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.8018, allocations: 0.5774 MB / 0.7535 GB, free: 45.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.802, allocations: 0 / 0.7535 GB, free: 45.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.8023, allocations: 0.5639 MB / 0.754 GB, free: 44.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.8044, allocations: 1.891 MB / 0.7559 GB, free: 43.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/0.8078, allocations: 5.727 MB / 0.7615 GB, free: 35.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.8114, allocations: 3.281 MB / 0.7647 GB, free: 33.12 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.8115, allocations: 43.91 kB / 0.7647 GB, free: 33.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=784) (initialization): time 0.009962/0.8215, allocations: 7.306 MB / 0.7718 GB, free: 26.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8215, allocations: 8 kB / 0.7719 GB, free: 26.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/0.8216, allocations: 136 kB / 0.772 GB, free: 26.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.8236, allocations: 0.8634 MB / 0.7728 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/0.8271, allocations: 1.392 MB / 0.7742 GB, free: 24.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/0.8314, allocations: 4.502 MB / 0.7786 GB, free: 19.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.8346, allocations: 191.7 kB / 0.7788 GB, free: 19.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.835, allocations: 384 kB / 0.7791 GB, free: 19.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (745): * Single equations (assignments): 741 * 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.0004927/0.8355, allocations: 442.9 kB / 0.7796 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.836, allocations: 311.9 kB / 0.7799 GB, free: 18.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.8402, allocations: 2.715 MB / 0.7825 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.8402, allocations: 12 kB / 0.7825 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.8402, allocations: 7.797 kB / 0.7825 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.8402, allocations: 3.984 kB / 0.7825 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009232/0.8495, allocations: 6.225 MB / 0.7886 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8495, allocations: 7.5 kB / 0.7886 GB, free: 9.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.8506, allocations: 235.7 kB / 0.7888 GB, free: 9.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.8524, allocations: 0.6415 MB / 0.7895 GB, free: 8.523 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.8525, allocations: 11.98 kB / 0.7895 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.8565, allocations: 4.119 MB / 0.7935 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8565, allocations: 0 / 0.7935 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005821/0.8623, allocations: 5.091 MB / 0.7985 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.8634, allocations: 0.5671 MB / 0.799 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004957/0.8639, allocations: 4 kB / 0.799 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.8652, allocations: 51.88 kB / 0.7991 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.8654, allocations: 72.88 kB / 0.7991 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.8655, allocations: 50.27 kB / 0.7992 GB, free: 14.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002972/0.8685, allocations: 2.092 MB / 0.8012 GB, free: 12.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004639/0.8731, allocations: 0.8205 MB / 0.802 GB, free: 11.5 MB / 490.7 MB 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 (118): * Single equations (assignments): 114 * 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.0003681/0.8735, allocations: 139 kB / 0.8022 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006527/0.8801, allocations: 4.514 MB / 0.8066 GB, free: 6.867 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8801, allocations: 0 / 0.8066 GB, free: 6.867 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.8819, allocations: 1.34 MB / 0.8079 GB, free: 5.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.8834, allocations: 314.1 kB / 0.8082 GB, free: 5.211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.8971, allocations: 7.236 MB / 0.8153 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004411/0.9015, allocations: 3.59 MB / 0.8188 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.9015, allocations: 0 / 0.8188 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.1915/1.093, allocations: 32.73 MB / 0.8507 GB, free: 173.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches