Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.001168/0.001168, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001086/0.001086, allocations: 168.7 kB / 24.84 MB, free: 8.859 MB / 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.9191/0.9191, allocations: 158.6 MB / 186.7 MB, free: 2.773 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.1319/0.1319, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.117e-05, allocations: 8.219 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.008968/0.008989, allocations: 13.41 MB / 362.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.01673, allocations: 4.533 MB / 366.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.01876, allocations: 111.4 kB / 367 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.0236, allocations: 4.47 MB / 371.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.02906, allocations: 2.41 MB / 373.9 MB, free: 132 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.0309, allocations: 1.029 MB / 374.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008546/0.03945, allocations: 6.537 MB / 381.4 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006152/0.0456, allocations: 4.761 MB / 386.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/0.05178, allocations: 4.051 MB / 390.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/0.05581, allocations: 3.238 MB / 393.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.0571, allocations: 0.4922 MB / 394 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.05965, allocations: 1.334 MB / 395.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.06197, allocations: 2.844 MB / 398.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.06492, allocations: 1.807 MB / 399.9 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008619/0.07354, allocations: 6.147 MB / 406.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.07355, allocations: 0 / 406.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.07355, allocations: 0 / 406.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003349/0.07388, allocations: 0 / 406.1 MB, free: 15.76 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01137/0.08525, allocations: 6.672 MB / 412.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.08529, allocations: 12.03 kB / 412.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006316/0.09161, allocations: 2.229 MB / 415 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.09658, allocations: 2.968 MB / 418 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.09677, allocations: 308.4 kB / 418.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009095/0.09768, allocations: 432 kB / 418.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.108, allocations: 6.545 MB / 425.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.1081, allocations: 55.52 kB / 425.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004765/0.1086, allocations: 191.8 kB / 425.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.1103, allocations: 1.941 MB / 427.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006699/0.117, allocations: 2.801 MB / 430.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1971/0.3141, allocations: 49.55 MB / 479.8 MB, free: 58.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.3186, allocations: 1.672 MB / 481.5 MB, free: 57.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/0.3196, allocations: 0.5114 MB / 482 MB, free: 57.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007606/0.3272, allocations: 4.463 MB / 486.4 MB, free: 56.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.3272, allocations: 53.33 kB / 486.5 MB, free: 56.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 5.66e-06/0.3273, allocations: 0 / 486.5 MB, free: 56.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.01522/0.3425, allocations: 6.045 MB / 492.5 MB, free: 55.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3425, allocations: 200.6 kB / 492.7 MB, free: 55.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/0.3482, allocations: 4.273 MB / 497 MB, free: 54.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.3485, allocations: 49.17 kB / 497 MB, free: 54.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002427/0.3509, allocations: 4.19 MB / 0.4895 GB, free: 51.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/0.3518, allocations: 0.7284 MB / 0.4902 GB, free: 50.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.3536, allocations: 1.502 MB / 0.4917 GB, free: 49.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.3537, allocations: 476.8 kB / 0.4921 GB, free: 48.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3547, allocations: 0.5986 MB / 0.4927 GB, free: 47.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.3573, allocations: 6.868 MB / 0.4994 GB, free: 38.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005218/0.3625, allocations: 8.12 MB / 0.5073 GB, free: 27.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/0.3627, allocations: 40 kB / 0.5074 GB, free: 27.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=878) (initialization): time 0.008405/0.3711, allocations: 5.421 MB / 0.5127 GB, free: 22.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.3711, allocations: 68 kB / 0.5127 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/0.3713, allocations: 151.9 kB / 0.5129 GB, free: 22.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007683/0.372, allocations: 399.5 kB / 0.5133 GB, free: 21.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.3746, allocations: 1.521 MB / 0.5147 GB, free: 20.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.3768, allocations: 4.487 MB / 0.5191 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/0.3804, allocations: 299.7 kB / 0.5194 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/0.3808, allocations: 363.9 kB / 0.5198 GB, free: 14.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (840): * Single equations (assignments): 835 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001522/0.3823, allocations: 0.7196 MB / 0.5205 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/0.383, allocations: 441.3 kB / 0.5209 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.3843, allocations: 1.085 MB / 0.5219 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.3843, allocations: 20 kB / 0.522 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3843, allocations: 0 / 0.522 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3844, allocations: 11.97 kB / 0.522 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/0.3924, allocations: 5.333 MB / 0.5272 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.3924, allocations: 4 kB / 0.5272 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.3931, allocations: 259.6 kB / 0.5274 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.3936, allocations: 218.2 kB / 0.5276 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3937, allocations: 31.98 kB / 0.5277 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.396, allocations: 3.881 MB / 0.5315 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.396, allocations: 11.61 kB / 0.5315 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/0.3989, allocations: 2.271 MB / 0.5337 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.4, allocations: 0.5207 MB / 0.5342 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004574/0.4004, allocations: 39.98 kB / 0.5342 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.4013, allocations: 39.97 kB / 0.5343 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4015, allocations: 124.4 kB / 0.5344 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.4015, allocations: 44 kB / 0.5344 GB, free: 15.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002047/0.4036, allocations: 1.746 MB / 0.5361 GB, free: 13.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4036, allocations: 0 / 0.5361 GB, free: 13.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004806/0.4084, allocations: 1.207 MB / 0.5373 GB, free: 12.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (143): * Single equations (assignments): 138 * 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.0004098/0.4088, allocations: 198.8 kB / 0.5375 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004019/0.4128, allocations: 3.142 MB / 0.5406 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.4128, allocations: 4 kB / 0.5406 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.414, allocations: 0.8508 MB / 0.5414 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.4162, allocations: 0.5023 MB / 0.5419 GB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.4303, allocations: 9.232 MB / 0.5509 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.4321, allocations: 1.565 MB / 0.5524 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001758/0.4339, allocations: 0.562 MB / 0.553 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.4349, allocations: 0.6621 MB / 0.5536 GB, free: 11.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.4349, allocations: 4 kB / 0.5536 GB, free: 11.46 MB / 410.7 MB Notification: Performance of Templates: time 0.08946/0.5244, allocations: 34.48 MB / 0.5873 GB, free: 9.066 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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.520080107264221]