Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002387/0.002392, allocations: 172.3 kB / 8.145 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 92.11 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2766/0.2766, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.059e-05, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3182, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.5099, allocations: 108.5 MB / 0.5713 GB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.5103, allocations: 79.95 kB / 0.5714 GB, free: 6.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6036/1.114, allocations: 95.24 MB / 0.6644 GB, free: 106.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003801/1.114, allocations: 102.3 kB / 0.6645 GB, free: 106.7 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.0416/1.156, allocations: 5.457 MB / 0.6698 GB, free: 104.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/1.156, allocations: 14.44 kB / 0.6698 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02394/1.18, allocations: 1.926 MB / 0.6717 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/1.2, allocations: 5.044 MB / 0.6766 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/1.201, allocations: 164.9 kB / 0.6768 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00281/1.203, allocations: 303.7 kB / 0.6771 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02041/1.224, allocations: 8.044 MB / 0.6849 GB, free: 102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03237/1.256, allocations: 11.71 MB / 0.6964 GB, free: 96.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003864/1.257, allocations: 65.11 kB / 0.6964 GB, free: 96.03 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/1.259, allocations: 31.09 kB / 0.6965 GB, free: 96.03 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003002/1.262, allocations: 1.286 MB / 0.6977 GB, free: 95.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09716/1.359, allocations: 54.37 MB / 0.7508 GB, free: 51.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008643/1.368, allocations: 4.564 MB / 0.7553 GB, free: 46.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006642/1.375, allocations: 3.418 MB / 0.7586 GB, free: 43.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0287/1.403, allocations: 10.62 MB / 0.769 GB, free: 32.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/1.403, allocations: 51.88 kB / 0.769 GB, free: 32.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 6.231e-06/1.404, allocations: 0 / 0.769 GB, free: 32.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.08444/1.488, allocations: 22.8 MB / 0.7913 GB, free: 9.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/1.488, allocations: 154.5 kB / 0.7914 GB, free: 9.234 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008005/1.496, allocations: 3.344 MB / 0.7947 GB, free: 5.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000812/1.497, allocations: 29.7 kB / 0.7947 GB, free: 5.875 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.499, allocations: 3.34 MB / 0.798 GB, free: 2.484 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.501, allocations: 0.9057 MB / 0.7989 GB, free: 1.566 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/1.502, allocations: 0 / 0.7989 GB, free: 1.566 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005915/1.503, allocations: 0.6083 MB / 0.7995 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008623/1.511, allocations: 2.962 MB / 0.8024 GB, free: 13.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/1.525, allocations: 7.029 MB / 0.8092 GB, free: 4.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.537, allocations: 4.519 MB / 0.8136 GB, free: 404 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/1.537, allocations: 40 kB / 0.8137 GB, free: 364 kB / 490.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.0334/1.57, allocations: 9.904 MB / 0.8234 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.57, allocations: 4 kB / 0.8234 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/1.571, allocations: 152.2 kB / 0.8235 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/1.576, allocations: 1.062 MB / 0.8245 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01329/1.59, allocations: 1.715 MB / 0.8262 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.195/1.785, allocations: 5.901 MB / 0.832 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007373/1.792, allocations: 233.9 kB / 0.8322 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.793, allocations: 442.1 kB / 0.8326 GB, free: 172.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (879): * Single equations (assignments): 875 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001324/1.794, allocations: 408 kB / 0.833 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009686/1.795, allocations: 366 kB / 0.8334 GB, free: 172.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/1.811, allocations: 5.431 MB / 0.8387 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.216e-05/1.811, allocations: 24.92 kB / 0.8387 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.811, allocations: 5.625 kB / 0.8387 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/1.811, allocations: 11.11 kB / 0.8387 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03447/1.846, allocations: 10.92 MB / 0.8494 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.846, allocations: 3.25 kB / 0.8494 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005837/1.852, allocations: 474.7 kB / 0.8498 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00495/1.857, allocations: 0.8709 MB / 0.8507 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007949/1.858, allocations: 17.92 kB / 0.8507 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.869, allocations: 5.236 MB / 0.8558 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.869, allocations: 3.938 kB / 0.8558 GB, free: 170 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0224/1.891, allocations: 9.697 MB / 0.8653 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/1.895, allocations: 0.8411 MB / 0.8661 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.896, allocations: 7.672 kB / 0.8661 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004892/1.901, allocations: 105.3 kB / 0.8662 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.902, allocations: 127.6 kB / 0.8663 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003919/1.903, allocations: 71.58 kB / 0.8664 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005984/1.909, allocations: 2.242 MB / 0.8686 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008629/1.918, allocations: 1.081 MB / 0.8696 GB, free: 165.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 218 * 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 Backend phase and start with SimCode phase: time 0.001176/1.919, allocations: 154.8 kB / 0.8698 GB, free: 165 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01625/1.935, allocations: 6.953 MB / 0.8766 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.935, allocations: 0 / 0.8766 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006274/1.941, allocations: 2.677 MB / 0.8792 GB, free: 162 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.944, allocations: 338.2 kB / 0.8795 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/1.977, allocations: 10.64 MB / 0.8899 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01074/1.988, allocations: 4.251 MB / 0.8941 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/1.988, allocations: 0 / 0.8941 GB, free: 156.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.147/2.135, allocations: 90.14 MB / 0.9821 GB, free: 77.53 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches