Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009089/0.000909, allocations: 188.8 kB / 7.807 MB, free: 2.488 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.9893/0.9893, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008086/0.0008085, allocations: 79.67 kB / 261.4 MB, free: 13.62 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.147/0.147, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.049e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.3359, allocations: 108.5 MB / 0.5713 GB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.3361, allocations: 75.95 kB / 0.5714 GB, free: 6.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3601/0.6962, allocations: 95.23 MB / 0.6644 GB, free: 107 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.6963, allocations: 102.2 kB / 0.6645 GB, free: 107 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.01308/0.7094, allocations: 5.463 MB / 0.6698 GB, free: 104.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.7095, allocations: 10.31 kB / 0.6698 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007914/0.7174, allocations: 1.931 MB / 0.6717 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.7278, allocations: 5.032 MB / 0.6766 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.728, allocations: 170 kB / 0.6768 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009882/0.729, allocations: 307.6 kB / 0.6771 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009653/0.7386, allocations: 8.045 MB / 0.685 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.7537, allocations: 11.7 MB / 0.6964 GB, free: 96.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.7539, allocations: 64.89 kB / 0.6964 GB, free: 96.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006047/0.7545, allocations: 31.69 kB / 0.6965 GB, free: 96.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.7561, allocations: 1.285 MB / 0.6977 GB, free: 96.07 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0539/0.81, allocations: 54.38 MB / 0.7508 GB, free: 51.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.8143, allocations: 4.56 MB / 0.7553 GB, free: 46.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.8172, allocations: 3.419 MB / 0.7586 GB, free: 43.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0134/0.8306, allocations: 10.63 MB / 0.769 GB, free: 32.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.8307, allocations: 55.88 kB / 0.7691 GB, free: 32.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 6.071e-06/0.8307, allocations: 0 / 0.7691 GB, free: 32.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.03831/0.869, allocations: 22.8 MB / 0.7913 GB, free: 9.223 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.8691, allocations: 150.5 kB / 0.7915 GB, free: 9.047 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.8732, allocations: 3.348 MB / 0.7947 GB, free: 5.719 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000554/0.8738, allocations: 29.7 kB / 0.7948 GB, free: 5.684 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.8749, allocations: 3.378 MB / 0.7981 GB, free: 2.254 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/0.8756, allocations: 0.9135 MB / 0.799 GB, free: 1.328 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.8759, allocations: 4 kB / 0.799 GB, free: 1.324 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/0.8761, allocations: 0.5997 MB / 0.7995 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.8798, allocations: 2.964 MB / 0.8024 GB, free: 13.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006087/0.8859, allocations: 7.029 MB / 0.8093 GB, free: 4.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/0.8915, allocations: 4.517 MB / 0.8137 GB, free: 168 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.202e-05/0.8916, allocations: 40 kB / 0.8137 GB, free: 128 kB / 490.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.01489/0.9064, allocations: 9.996 MB / 0.8235 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9065, allocations: 8 kB / 0.8235 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.9066, allocations: 147.4 kB / 0.8237 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.9092, allocations: 1.067 MB / 0.8247 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005623/0.9148, allocations: 1.715 MB / 0.8264 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1317/1.047, allocations: 5.523 MB / 0.8318 GB, free: 171 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004579/1.051, allocations: 242.2 kB / 0.832 GB, free: 171 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005253/1.052, allocations: 439.7 kB / 0.8324 GB, free: 171 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007823/1.052, allocations: 468.9 kB / 0.8329 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/1.053, allocations: 369.2 kB / 0.8332 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007447/1.06, allocations: 5.438 MB / 0.8385 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/1.06, allocations: 23.81 kB / 0.8386 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.06, allocations: 6.562 kB / 0.8386 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.06, allocations: 10.12 kB / 0.8386 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/1.076, allocations: 10.92 MB / 0.8492 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.076, allocations: 3.281 kB / 0.8492 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.079, allocations: 470.4 kB / 0.8497 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/1.081, allocations: 0.8647 MB / 0.8505 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/1.081, allocations: 20.83 kB / 0.8505 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00535/1.087, allocations: 5.241 MB / 0.8557 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.087, allocations: 5.219 kB / 0.8557 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0104/1.097, allocations: 9.69 MB / 0.8651 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.099, allocations: 0.8414 MB / 0.866 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/1.099, allocations: 8.562 kB / 0.866 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.101, allocations: 106 kB / 0.8661 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/1.101, allocations: 126.4 kB / 0.8662 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.102, allocations: 66.91 kB / 0.8662 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002544/1.104, allocations: 2.245 MB / 0.8684 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004506/1.109, allocations: 1.086 MB / 0.8695 GB, free: 163.6 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.0004447/1.109, allocations: 156.5 kB / 0.8697 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009438/1.119, allocations: 7.004 MB / 0.8765 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.119, allocations: 7.844 kB / 0.8765 GB, free: 161.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/1.122, allocations: 2.683 MB / 0.8791 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.124, allocations: 342 kB / 0.8794 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.141, allocations: 10.08 MB / 0.8893 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005029/1.147, allocations: 4.242 MB / 0.8934 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/1.147, allocations: 0 / 0.8934 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.07074/1.217, allocations: 48.56 MB / 0.9409 GB, free: 119.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches