Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [: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.001084/0.001084, allocations: 185.8 kB / 7.806 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 1.038/1.038, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.0008419/0.0008419, allocations: 94.45 kB / 261.4 MB, free: 13.53 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.1553/0.1553, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.883e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2195, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3393, allocations: 108 MB / 0.5709 GB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3395, allocations: 87.88 kB / 0.571 GB, free: 6.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3736/0.7131, allocations: 103.5 MB / 0.672 GB, free: 105.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.7134, allocations: 105.6 kB / 0.6721 GB, free: 105.2 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01033/0.7238, allocations: 5.234 MB / 0.6772 GB, free: 103.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7238, allocations: 11.41 kB / 0.6772 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0219/0.7457, allocations: 6.565 MB / 0.6836 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.76, allocations: 6.974 MB / 0.6905 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.7602, allocations: 173.4 kB / 0.6906 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009542/0.7612, allocations: 326.5 kB / 0.6909 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01025/0.7714, allocations: 7.797 MB / 0.6985 GB, free: 97.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.7853, allocations: 11.57 MB / 0.7098 GB, free: 91.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.7855, allocations: 80.48 kB / 0.7099 GB, free: 91.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000546/0.786, allocations: 34.19 kB / 0.71 GB, free: 91.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001403/0.7874, allocations: 1.209 MB / 0.7111 GB, free: 91.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04442/0.8318, allocations: 57.3 MB / 0.7671 GB, free: 34.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.8352, allocations: 3.6 MB / 0.7706 GB, free: 30.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.8374, allocations: 2.576 MB / 0.7731 GB, free: 27.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009647/0.8471, allocations: 7.984 MB / 0.7809 GB, free: 19.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.8472, allocations: 59.81 kB / 0.781 GB, free: 19.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=192): time 4.789e-06/0.8472, allocations: 0 / 0.781 GB, free: 19.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=218): time 0.03183/0.879, allocations: 18.07 MB / 0.7986 GB, free: 1.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.8791, allocations: 209.2 kB / 0.7988 GB, free: 1.051 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004601/0.8837, allocations: 3.735 MB / 0.8025 GB, free: 13.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.8839, allocations: 29.7 kB / 0.8025 GB, free: 13.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.8859, allocations: 3.466 MB / 0.8059 GB, free: 9.746 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/0.8866, allocations: 0.8019 MB / 0.8067 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.8869, allocations: 0 / 0.8067 GB, free: 8.934 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003595/0.8872, allocations: 0.599 MB / 0.8072 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.89, allocations: 2.181 MB / 0.8094 GB, free: 6.145 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.8947, allocations: 6.276 MB / 0.8155 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.8991, allocations: 3.705 MB / 0.8191 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-05/0.8991, allocations: 44 kB / 0.8192 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.01304/0.9122, allocations: 8.191 MB / 0.8272 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9122, allocations: 4 kB / 0.8272 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/0.9124, allocations: 148 kB / 0.8273 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/0.9148, allocations: 0.9094 MB / 0.8282 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1233/1.038, allocations: 1.549 MB / 0.8297 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/1.044, allocations: 6.893 MB / 0.8364 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.049, allocations: 206.7 kB / 0.8366 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005058/1.049, allocations: 416.5 kB / 0.837 GB, free: 170.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 668 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 823 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006794/1.05, allocations: 480.4 kB / 0.8375 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/1.05, allocations: 402 kB / 0.8379 GB, free: 170.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/1.055, allocations: 3.423 MB / 0.8412 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/1.055, allocations: 24.25 kB / 0.8412 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.055, allocations: 6.844 kB / 0.8412 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.056, allocations: 15.55 kB / 0.8413 GB, free: 170.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.067, allocations: 8.216 MB / 0.8493 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.067, allocations: 0 / 0.8493 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.069, allocations: 332.3 kB / 0.8496 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/1.071, allocations: 0.6666 MB / 0.8503 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/1.071, allocations: 8.531 kB / 0.8503 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/1.077, allocations: 6.04 MB / 0.8562 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.077, allocations: 0 / 0.8562 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00687/1.084, allocations: 6.253 MB / 0.8623 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.085, allocations: 0.7024 MB / 0.863 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005848/1.086, allocations: 3.344 kB / 0.863 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.087, allocations: 65.61 kB / 0.863 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.087, allocations: 99.27 kB / 0.8631 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.087, allocations: 58.78 kB / 0.8632 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003065/1.09, allocations: 2.549 MB / 0.8657 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004302/1.095, allocations: 1.016 MB / 0.8666 GB, free: 164.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/1.095, allocations: 142.8 kB / 0.8668 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006107/1.101, allocations: 5.442 MB / 0.8721 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.101, allocations: 1.312 kB / 0.8721 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/1.103, allocations: 1.871 MB / 0.8739 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.106, allocations: 429.5 kB / 0.8743 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.12, allocations: 9.372 MB / 0.8835 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005116/1.125, allocations: 4.417 MB / 0.8878 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/1.125, allocations: 0 / 0.8878 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.06739/1.192, allocations: 42.44 MB / 0.9293 GB, free: 131.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches