Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") [: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.0009154/0.0009157, allocations: 187.3 kB / 7.805 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.032/1.032, 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.0007808/0.0007808, allocations: 89.48 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.1464/0.1464, allocations: 43.49 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.473e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.203, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.3175, allocations: 108.7 MB / 0.5716 GB, free: 6.156 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.3178, allocations: 79.89 kB / 0.5717 GB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.974/1.292, allocations: 276.8 MB / 0.8419 GB, free: 50.59 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001059/1.293, allocations: 283.7 kB / 0.8422 GB, free: 50.59 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.03523/1.328, allocations: 13.09 MB / 0.855 GB, free: 46.32 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/1.328, allocations: 11.5 kB / 0.855 GB, free: 46.32 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06459/1.393, allocations: 16.86 MB / 0.8715 GB, free: 45.32 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03198/1.425, allocations: 15.04 MB / 0.8861 GB, free: 43.79 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006225/1.425, allocations: 476.4 kB / 0.8866 GB, free: 43.79 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005857/1.431, allocations: 0.86 MB / 0.8874 GB, free: 43.78 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03465/1.466, allocations: 24.86 MB / 0.9117 GB, free: 43.7 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05217/1.518, allocations: 33.61 MB / 0.9445 GB, free: 36.52 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003979/1.519, allocations: 136.3 kB / 0.9447 GB, free: 36.51 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00185/1.52, allocations: 60.75 kB / 0.9447 GB, free: 36.51 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/1.524, allocations: 3.972 MB / 0.9486 GB, free: 35.7 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3162/1.841, allocations: 138.1 MB / 1.083 GB, free: 73.85 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/1.854, allocations: 11.38 MB / 1.095 GB, free: 73.19 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/1.865, allocations: 9.975 MB / 1.104 GB, free: 73.13 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05178/1.917, allocations: 35.76 MB / 1.139 GB, free: 68.59 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/1.917, allocations: 104.3 kB / 1.139 GB, free: 68.54 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=747): time 1.019e-05/1.917, allocations: 0 / 1.139 GB, free: 68.54 MB / 0.5418 GB Notification: Performance of matching and sorting (n=819): time 0.1189/2.036, allocations: 69.18 MB / 1.207 GB, free: 45.21 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/2.036, allocations: 300.6 kB / 1.207 GB, free: 44.86 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009693/2.046, allocations: 8.836 MB / 1.216 GB, free: 37.37 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009259/2.047, allocations: 28.36 kB / 1.216 GB, free: 37.34 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.003008/2.05, allocations: 9.268 MB / 1.225 GB, free: 29.12 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002442/2.052, allocations: 2.885 MB / 1.228 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007606/2.053, allocations: 2.531 kB / 1.228 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0007321/2.053, allocations: 1.149 MB / 1.229 GB, free: 25.6 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01525/2.069, allocations: 8.127 MB / 1.237 GB, free: 18.28 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1823/2.251, allocations: 18.35 MB / 1.255 GB, free: 111.3 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/2.267, allocations: 12.38 MB / 1.267 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002301/2.267, allocations: 103.3 kB / 1.267 GB, free: 111.2 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2530) (initialization): time 0.04542/2.312, allocations: 26.27 MB / 1.293 GB, free: 110 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/2.312, allocations: 6.531 kB / 1.293 GB, free: 110 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005006/2.313, allocations: 358.1 kB / 1.293 GB, free: 110 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006093/2.319, allocations: 2.336 MB / 1.295 GB, free: 110 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01522/2.334, allocations: 4.383 MB / 1.299 GB, free: 109.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/2.35, allocations: 12.88 MB / 1.312 GB, free: 106.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/2.364, allocations: 0.6113 MB / 1.313 GB, free: 106.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003868/2.368, allocations: 1.06 MB / 1.314 GB, free: 106.9 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1643 * Number of states: 0 () * Number of discrete variables: 93 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2334): * Single equations (assignments): 2317 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005328/2.373, allocations: 1.023 MB / 1.315 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002821/2.376, allocations: 0.9932 MB / 1.316 GB, free: 106.4 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02314/2.399, allocations: 15.35 MB / 1.331 GB, free: 106 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001773/2.399, allocations: 141.5 kB / 1.331 GB, free: 106 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/2.399, allocations: 14.12 kB / 1.331 GB, free: 106 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/2.399, allocations: 33.75 kB / 1.331 GB, free: 106 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04922/2.449, allocations: 31.4 MB / 1.361 GB, free: 100.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/2.449, allocations: 1.344 kB / 1.361 GB, free: 100.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00694/2.456, allocations: 1.245 MB / 1.363 GB, free: 100.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005656/2.461, allocations: 1.717 MB / 1.364 GB, free: 99.77 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001075/2.462, allocations: 15.39 kB / 1.364 GB, free: 99.76 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/2.476, allocations: 11.69 MB / 1.376 GB, free: 93.76 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/2.476, allocations: 0 / 1.376 GB, free: 93.76 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03227/2.508, allocations: 25.14 MB / 1.4 GB, free: 78.33 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00587/2.514, allocations: 2.211 MB / 1.402 GB, free: 76.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002543/2.517, allocations: 11.84 kB / 1.402 GB, free: 76.27 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005653/2.523, allocations: 276.6 kB / 1.403 GB, free: 76.11 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009497/2.524, allocations: 344.2 kB / 1.403 GB, free: 75.91 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006488/2.524, allocations: 183.3 kB / 1.403 GB, free: 75.73 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.01046/2.535, allocations: 5.919 MB / 1.409 GB, free: 70.63 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01726/2.552, allocations: 2.962 MB / 1.412 GB, free: 67.68 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (645): * Single equations (assignments): 628 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/2.554, allocations: 201.5 kB / 1.412 GB, free: 67.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02753/2.581, allocations: 19.27 MB / 1.431 GB, free: 49.96 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/2.581, allocations: 0 / 1.431 GB, free: 49.96 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.1895/2.771, allocations: 7.718 MB / 1.438 GB, free: 112.9 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/2.776, allocations: 0.9014 MB / 1.439 GB, free: 112.9 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05549/2.832, allocations: 29.51 MB / 1.468 GB, free: 108.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02294/2.855, allocations: 11.4 MB / 1.479 GB, free: 107 MB / 0.5418 GB Notification: Performance of SimCode: time 8.72e-07/2.855, allocations: 0 / 1.479 GB, free: 107 MB / 0.5418 GB Notification: Performance of Templates: time 0.2046/3.059, allocations: 120.7 MB / 1.597 GB, free: 62.36 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches