Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 175.7 kB / 8.149 MB, free: 2.207 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.632/1.632, 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.001278/0.001278, allocations: 95.39 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.2581/0.2581, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.081e-05, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3411, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.5579, allocations: 108 MB / 0.5708 GB, free: 6.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.5582, allocations: 83.45 kB / 0.5709 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6162/1.174, allocations: 103.5 MB / 0.672 GB, free: 102.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003602/1.175, allocations: 111.1 kB / 0.6721 GB, free: 102.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.02033/1.195, allocations: 5.238 MB / 0.6772 GB, free: 100 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.195, allocations: 7.438 kB / 0.6772 GB, free: 100 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04707/1.242, allocations: 6.569 MB / 0.6836 GB, free: 99.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/1.268, allocations: 6.961 MB / 0.6904 GB, free: 98.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/1.268, allocations: 172.3 kB / 0.6906 GB, free: 98.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00275/1.271, allocations: 329 kB / 0.6909 GB, free: 98.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02202/1.293, allocations: 7.797 MB / 0.6985 GB, free: 95.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03268/1.326, allocations: 11.57 MB / 0.7098 GB, free: 89.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/1.326, allocations: 76.77 kB / 0.7099 GB, free: 89.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/1.329, allocations: 33.61 kB / 0.7099 GB, free: 89.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/1.332, allocations: 1.211 MB / 0.7111 GB, free: 89 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08792/1.42, allocations: 57.29 MB / 0.7671 GB, free: 33.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007282/1.427, allocations: 3.604 MB / 0.7706 GB, free: 29.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005073/1.432, allocations: 2.572 MB / 0.7731 GB, free: 26.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/1.451, allocations: 7.987 MB / 0.7809 GB, free: 18.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.452, allocations: 59.75 kB / 0.781 GB, free: 18.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=192): time 5.801e-06/1.452, allocations: 0 / 0.781 GB, free: 18.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=218): time 0.06148/1.513, allocations: 18.07 MB / 0.7986 GB, free: 492 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/1.513, allocations: 205.2 kB / 0.7988 GB, free: 240 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00941/1.523, allocations: 3.739 MB / 0.8024 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005151/1.523, allocations: 25.7 kB / 0.8025 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/1.527, allocations: 3.37 MB / 0.8058 GB, free: 9.027 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.528, allocations: 0.8057 MB / 0.8065 GB, free: 8.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/1.529, allocations: 0 / 0.8065 GB, free: 8.211 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006205/1.53, allocations: 0.5999 MB / 0.8071 GB, free: 7.602 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006285/1.536, allocations: 2.184 MB / 0.8093 GB, free: 5.414 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/1.547, allocations: 6.269 MB / 0.8154 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009723/1.556, allocations: 3.705 MB / 0.819 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/1.557, allocations: 40 kB / 0.819 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.02698/1.584, allocations: 8.04 MB / 0.8269 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.584, allocations: 8 kB / 0.8269 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002688/1.584, allocations: 148 kB / 0.827 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/1.589, allocations: 0.8822 MB / 0.8279 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1821/1.771, allocations: 1.552 MB / 0.8294 GB, free: 174.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.784, allocations: 6.914 MB / 0.8362 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005897/1.79, allocations: 200.1 kB / 0.8364 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.791, allocations: 418.2 kB / 0.8368 GB, free: 172 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.001288/1.793, allocations: 406.5 kB / 0.8372 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009759/1.794, allocations: 400.2 kB / 0.8375 GB, free: 172 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.804, allocations: 3.432 MB / 0.8409 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.044e-05/1.804, allocations: 18.81 kB / 0.8409 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.804, allocations: 7.438 kB / 0.8409 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/1.804, allocations: 10.14 kB / 0.8409 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/1.83, allocations: 8.217 MB / 0.8489 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/1.83, allocations: 0 / 0.8489 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/1.834, allocations: 332.5 kB / 0.8493 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004487/1.838, allocations: 0.6696 MB / 0.8499 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004679/1.839, allocations: 8.688 kB / 0.8499 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.851, allocations: 6.041 MB / 0.8558 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/1.851, allocations: 2.562 kB / 0.8558 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01566/1.867, allocations: 6.253 MB / 0.8619 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.869, allocations: 0.7029 MB / 0.8626 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.87, allocations: 8.234 kB / 0.8626 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.873, allocations: 67.22 kB / 0.8627 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004179/1.873, allocations: 107.6 kB / 0.8628 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.874, allocations: 55.55 kB / 0.8628 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0057/1.879, allocations: 2.548 MB / 0.8653 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007677/1.887, allocations: 1.009 MB / 0.8663 GB, free: 165.3 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.0007079/1.888, allocations: 151.8 kB / 0.8665 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01261/1.901, allocations: 5.421 MB / 0.8718 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.901, allocations: 0 / 0.8718 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00471/1.905, allocations: 1.862 MB / 0.8736 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.909, allocations: 436.6 kB / 0.874 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/1.938, allocations: 9.977 MB / 0.8837 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01191/1.95, allocations: 4.426 MB / 0.8881 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.934e-06/1.95, allocations: 0 / 0.8881 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.2463/2.197, allocations: 111.2 MB / 0.9966 GB, free: 61.41 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches