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.001146/0.001146, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.00189/0.00189, allocations: 169 kB / 24.14 MB, free: 364 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 1.002/1.002, allocations: 158.6 MB / 186 MB, free: 2.734 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.1285/0.1285, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.793e-06/1.793e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.504e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.1817/0.1817, allocations: 13.52 MB / 312.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009321/0.1911, allocations: 4.753 MB / 317.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.1928, allocations: 112.4 kB / 317.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004837/0.1976, allocations: 4.457 MB / 322 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.2013, allocations: 2.406 MB / 324.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2027, allocations: 1.029 MB / 325.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004815/0.2075, allocations: 6.583 MB / 332 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004126/0.2117, allocations: 4.661 MB / 336.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.2152, allocations: 3.922 MB / 340.6 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.2183, allocations: 3.137 MB / 343.7 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.2189, allocations: 0.4961 MB / 344.2 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.2206, allocations: 1.37 MB / 345.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.2225, allocations: 2.86 MB / 348.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.224, allocations: 1.811 MB / 350.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005088/0.2291, allocations: 6.182 MB / 356.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2291, allocations: 0 / 356.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2291, allocations: 0 / 356.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.2291, allocations: 0 / 356.4 MB, free: 4.711 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.00652/0.2357, allocations: 5.985 MB / 362.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2357, allocations: 12.02 kB / 362.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.2391, allocations: 1.48 MB / 363.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.2419, allocations: 2.744 MB / 366.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.2421, allocations: 316.5 kB / 366.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004857/0.2426, allocations: 448.8 kB / 367.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/0.249, allocations: 6.072 MB / 373.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.426e-05/0.249, allocations: 59.5 kB / 373.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.2494, allocations: 195.8 kB / 373.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/0.2512, allocations: 1.937 MB / 375.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.2555, allocations: 3.028 MB / 378.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.2824, allocations: 36.04 MB / 414.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.2861, allocations: 1.8 MB / 416.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.2866, allocations: 451.1 kB / 416.9 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005308/0.2919, allocations: 4.355 MB / 421.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2919, allocations: 51.5 kB / 421.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=162): time 2.836e-06/0.2919, allocations: 0 / 421.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=178): time 0.01172/0.3037, allocations: 5.684 MB / 427 MB, free: 11.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.3037, allocations: 200.9 kB / 427.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.3064, allocations: 3.81 MB / 431 MB, free: 7.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.3065, allocations: 53.7 kB / 431.1 MB, free: 7.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.3083, allocations: 3.652 MB / 434.7 MB, free: 3.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.3087, allocations: 0.7288 MB / 435.5 MB, free: 3.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.3097, allocations: 1.291 MB / 436.8 MB, free: 1.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.3098, allocations: 309.1 kB / 437.1 MB, free: 1.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.311, allocations: 0.8037 MB / 437.9 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.3141, allocations: 4.868 MB / 442.7 MB, free: 9.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.3184, allocations: 6.231 MB / 449 MB, free: 1.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.755e-05/0.3185, allocations: 43.94 kB / 449 MB, free: 1.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.004827/0.3233, allocations: 4.612 MB / 453.6 MB, free: 12.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.3233, allocations: 70.19 kB / 453.7 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-05/0.3234, allocations: 148 kB / 453.8 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.3241, allocations: 412.4 kB / 454.2 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.3266, allocations: 1.603 MB / 455.8 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.3293, allocations: 3.579 MB / 459.4 MB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.3315, allocations: 299.7 kB / 459.7 MB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.3318, allocations: 356 kB / 460.1 MB, free: 6.207 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.001183/0.333, allocations: 0.682 MB / 460.7 MB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.3333, allocations: 255.7 kB / 461 MB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3344, allocations: 0.9711 MB / 462 MB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.3345, allocations: 16 kB / 462 MB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3345, allocations: 4 kB / 462 MB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3345, allocations: 15.91 kB / 462 MB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1552/0.4897, allocations: 4.528 MB / 466.5 MB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.4897, allocations: 9.562 kB / 466.5 MB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.4909, allocations: 307.3 kB / 466.8 MB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.4924, allocations: 419.5 kB / 467.2 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.4925, allocations: 40.66 kB / 467.3 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.4945, allocations: 2.775 MB / 470.1 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4945, allocations: 6.938 kB / 470.1 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.4975, allocations: 1.912 MB / 472 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.4986, allocations: 0.489 MB / 472.5 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004282/0.499, allocations: 38.06 kB / 472.5 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/0.5, allocations: 40.47 kB / 472.5 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.5003, allocations: 120.2 kB / 472.7 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5004, allocations: 47.28 kB / 472.7 MB, free: 126.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002317/0.5027, allocations: 1.438 MB / 474.1 MB, free: 126.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5027, allocations: 4.656 kB / 474.1 MB, free: 126.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005019/0.5077, allocations: 1.221 MB / 475.4 MB, free: 126.6 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.0004173/0.5081, allocations: 182.8 kB / 475.5 MB, free: 126.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004421/0.5126, allocations: 2.851 MB / 478.4 MB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000248/0.5128, allocations: 106.9 kB / 478.5 MB, free: 126.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009337/0.5137, allocations: 0.7042 MB / 479.2 MB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.5168, allocations: 0.7538 MB / 480 MB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.529, allocations: 9.147 MB / 489.1 MB, free: 121.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.5304, allocations: 1.554 MB / 490.7 MB, free: 121.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001679/0.5321, allocations: 0.5616 MB / 491.2 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009227/0.533, allocations: 0.6269 MB / 491.9 MB, free: 121.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.435e-06/0.533, allocations: 0 / 491.9 MB, free: 121.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04949/0.5825, allocations: 33.93 MB / 0.5135 GB, free: 91.43 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 -s gbode -gbm=radauIIA3 -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.15885808179155]