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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9828/0.9828, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1537/0.1537, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.707e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.1679/0.1679, allocations: 13.48 MB / 312.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009971/0.1779, allocations: 4.743 MB / 317.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.1801, allocations: 112.4 kB / 317.4 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.1852, allocations: 4.542 MB / 321.9 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.1897, allocations: 2.431 MB / 324.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1913, allocations: 1.037 MB / 325.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006761/0.1981, allocations: 6.577 MB / 332 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005438/0.2035, allocations: 4.886 MB / 336.9 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005794/0.2093, allocations: 4.004 MB / 340.9 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004002/0.2133, allocations: 3.125 MB / 344 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000801/0.2141, allocations: 0.4961 MB / 344.5 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.216, allocations: 1.323 MB / 345.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.2181, allocations: 2.864 MB / 348.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.2201, allocations: 1.815 MB / 350.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006041/0.2261, allocations: 6.182 MB / 356.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2261, allocations: 0 / 356.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2261, allocations: 0 / 356.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.2263, allocations: 0 / 356.7 MB, free: 4.445 MB / 314.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.007595/0.2338, allocations: 5.981 MB / 362.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2339, allocations: 8.031 kB / 362.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/0.2383, allocations: 1.485 MB / 364.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.2412, allocations: 2.748 MB / 366.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2414, allocations: 316.5 kB / 367.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005002/0.2419, allocations: 444.8 kB / 367.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/0.248, allocations: 6.071 MB / 373.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.2481, allocations: 59.5 kB / 373.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.2484, allocations: 195.8 kB / 374 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/0.25, allocations: 1.934 MB / 375.9 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/0.2549, allocations: 3.034 MB / 378.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0295/0.2844, allocations: 36.04 MB / 415 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.2884, allocations: 1.798 MB / 416.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.2889, allocations: 445.1 kB / 417.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005912/0.2949, allocations: 4.363 MB / 421.6 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.2949, allocations: 51.5 kB / 421.6 MB, free: 1.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=162): time 3.396e-06/0.2949, allocations: 4 kB / 421.6 MB, free: 1.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=178): time 0.01268/0.3076, allocations: 5.68 MB / 427.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.3077, allocations: 196.9 kB / 427.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.3113, allocations: 3.81 MB / 431.3 MB, free: 7.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.3114, allocations: 53.7 kB / 431.4 MB, free: 7.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.3129, allocations: 3.652 MB / 435 MB, free: 3.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.3133, allocations: 0.7327 MB / 435.7 MB, free: 2.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.3146, allocations: 1.291 MB / 437 MB, free: 1.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.3147, allocations: 309.1 kB / 437.3 MB, free: 1.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3158, allocations: 0.7998 MB / 438.1 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.319, allocations: 4.872 MB / 443 MB, free: 9.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.3234, allocations: 6.231 MB / 449.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-05/0.3235, allocations: 44 kB / 449.3 MB, free: 1.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.004961/0.3284, allocations: 4.612 MB / 453.9 MB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.3285, allocations: 70.19 kB / 454 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.84e-05/0.3286, allocations: 148 kB / 454.1 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009077/0.3295, allocations: 408.1 kB / 454.5 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.3318, allocations: 1.524 MB / 456 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.3342, allocations: 3.564 MB / 459.6 MB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.3375, allocations: 299.7 kB / 459.9 MB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004374/0.3379, allocations: 360 kB / 460.2 MB, free: 6.031 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001762/0.3397, allocations: 0.678 MB / 460.9 MB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.3401, allocations: 251.7 kB / 461.2 MB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.3417, allocations: 0.9789 MB / 462.1 MB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.3417, allocations: 16 kB / 462.2 MB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3417, allocations: 4 kB / 462.2 MB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3417, allocations: 11.97 kB / 462.2 MB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1659/0.5076, allocations: 4.522 MB / 466.7 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.5076, allocations: 6.656 kB / 466.7 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.5084, allocations: 276.3 kB / 467 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.5096, allocations: 429.9 kB / 467.4 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.5097, allocations: 35.66 kB / 467.4 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.5118, allocations: 2.763 MB / 470.2 MB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.5118, allocations: 8.906 kB / 470.2 MB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.5144, allocations: 1.906 MB / 472.1 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.5154, allocations: 0.4964 MB / 472.6 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/0.5158, allocations: 36.91 kB / 472.6 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.5165, allocations: 41.03 kB / 472.7 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.5167, allocations: 123 kB / 472.8 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.489e-05/0.5168, allocations: 44.09 kB / 472.8 MB, free: 126.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002301/0.5191, allocations: 1.438 MB / 474.3 MB, free: 126.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5191, allocations: 3.25 kB / 474.3 MB, free: 126.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004453/0.5236, allocations: 1.225 MB / 475.5 MB, free: 126.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004343/0.524, allocations: 181.4 kB / 475.7 MB, free: 126.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003834/0.5278, allocations: 2.846 MB / 478.5 MB, free: 126 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000171/0.528, allocations: 106.8 kB / 478.6 MB, free: 126 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.5286, allocations: 0.6982 MB / 479.3 MB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.5307, allocations: 0.7638 MB / 480.1 MB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009726/0.5405, allocations: 9.147 MB / 489.2 MB, free: 121.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.5417, allocations: 1.551 MB / 490.8 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001318/0.543, allocations: 0.5665 MB / 491.4 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/0.5439, allocations: 0.6225 MB / 492 MB, free: 121.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5439, allocations: 0 / 492 MB, free: 121.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05025/0.5941, allocations: 33.88 MB / 0.5135 GB, free: 91.33 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.378121140878648]