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.0008168/0.0008168, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001034/0.001034, allocations: 173 kB / 24.06 MB, free: 452 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.8585/0.8585, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.1401/0.1401, allocations: 32.38 MB / 270.7 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.924e-06/1.924e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.977e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.008981/0.009001, allocations: 13.4 MB / 361.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.01739, allocations: 4.536 MB / 366.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.0189, allocations: 115.4 kB / 366.2 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.023, allocations: 4.47 MB / 370.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.02638, allocations: 2.418 MB / 373.1 MB, free: 124 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.02777, allocations: 1.021 MB / 374.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005311/0.03308, allocations: 6.55 MB / 380.6 MB, free: 8.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004659/0.03774, allocations: 4.746 MB / 385.4 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.04281, allocations: 4.055 MB / 389.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.04605, allocations: 3.246 MB / 392.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006163/0.04667, allocations: 0.4922 MB / 393.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.04826, allocations: 1.326 MB / 394.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.04984, allocations: 2.852 MB / 397.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.05125, allocations: 1.807 MB / 399.2 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.05571, allocations: 6.143 MB / 405.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.05571, allocations: 4 kB / 405.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05572, allocations: 0 / 405.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.957e-05/0.05579, allocations: 0 / 405.3 MB, free: 15.74 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.006943/0.06274, allocations: 6.66 MB / 412 MB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.06278, allocations: 8.031 kB / 412 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.06789, allocations: 2.237 MB / 414.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.07127, allocations: 2.968 MB / 417.2 MB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.07142, allocations: 316.3 kB / 417.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004567/0.07188, allocations: 424 kB / 417.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006622/0.0785, allocations: 6.541 MB / 424.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-05/0.07859, allocations: 51.53 kB / 424.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.0789, allocations: 199.8 kB / 424.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/0.08048, allocations: 1.937 MB / 426.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/0.085, allocations: 2.806 MB / 429.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1917/0.2768, allocations: 49.55 MB / 479 MB, free: 58.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.2809, allocations: 1.678 MB / 480.7 MB, free: 57.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.2815, allocations: 0.5092 MB / 481.2 MB, free: 57.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006638/0.2881, allocations: 4.465 MB / 485.6 MB, free: 56.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2882, allocations: 54.7 kB / 485.7 MB, free: 56.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 3.767e-06/0.2882, allocations: 0 / 485.7 MB, free: 56.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.01485/0.303, allocations: 6.046 MB / 491.7 MB, free: 55.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.3031, allocations: 203.7 kB / 491.9 MB, free: 55.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/0.3088, allocations: 4.27 MB / 496.2 MB, free: 54.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003144/0.3091, allocations: 52.33 kB / 496.3 MB, free: 54.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/0.3118, allocations: 4.184 MB / 0.4887 GB, free: 51.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.3128, allocations: 0.7367 MB / 0.4894 GB, free: 50.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.3148, allocations: 1.494 MB / 0.4909 GB, free: 49.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.3149, allocations: 476.8 kB / 0.4914 GB, free: 48.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.316, allocations: 0.6055 MB / 0.4919 GB, free: 47.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/0.3198, allocations: 6.868 MB / 0.4987 GB, free: 38.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006586/0.3263, allocations: 8.112 MB / 0.5066 GB, free: 27.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.3265, allocations: 40 kB / 0.5066 GB, free: 27.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=878) (initialization): time 0.01093/0.3374, allocations: 5.421 MB / 0.5119 GB, free: 22.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.3375, allocations: 71.94 kB / 0.512 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.662e-05/0.3376, allocations: 148 kB / 0.5121 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/0.3383, allocations: 404.8 kB / 0.5125 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.3406, allocations: 1.517 MB / 0.514 GB, free: 20.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.3427, allocations: 4.488 MB / 0.5184 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/0.3463, allocations: 309.9 kB / 0.5187 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004289/0.3467, allocations: 355.9 kB / 0.519 GB, free: 14.88 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.001499/0.3482, allocations: 0.7165 MB / 0.5197 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007041/0.3489, allocations: 445.3 kB / 0.5201 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.3502, allocations: 1.081 MB / 0.5212 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.3502, allocations: 16 kB / 0.5212 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3502, allocations: 4 kB / 0.5212 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3502, allocations: 7.969 kB / 0.5212 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007457/0.3577, allocations: 5.334 MB / 0.5264 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.3577, allocations: 4 kB / 0.5264 GB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.3584, allocations: 259.6 kB / 0.5267 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005208/0.3589, allocations: 215.4 kB / 0.5269 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.359, allocations: 33.86 kB / 0.5269 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.3606, allocations: 3.888 MB / 0.5307 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3606, allocations: 6.656 kB / 0.5307 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.3629, allocations: 2.278 MB / 0.5329 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.364, allocations: 0.5246 MB / 0.5334 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/0.3643, allocations: 28 kB / 0.5335 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.365, allocations: 47.98 kB / 0.5335 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.3652, allocations: 120.4 kB / 0.5336 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.3653, allocations: 47.98 kB / 0.5337 GB, free: 15.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001967/0.3672, allocations: 1.746 MB / 0.5354 GB, free: 13.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3672, allocations: 0 / 0.5354 GB, free: 13.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004654/0.3719, allocations: 1.211 MB / 0.5366 GB, free: 12.36 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.0004955/0.3724, allocations: 196.9 kB / 0.5368 GB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.3773, allocations: 3.155 MB / 0.5398 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3773, allocations: 0 / 0.5398 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.3782, allocations: 0.8464 MB / 0.5407 GB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.3804, allocations: 0.5027 MB / 0.5412 GB, free: 7.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.3953, allocations: 9.229 MB / 0.5502 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.3972, allocations: 1.561 MB / 0.5517 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001886/0.399, allocations: 0.5652 MB / 0.5522 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008827/0.3999, allocations: 0.6621 MB / 0.5529 GB, free: 11.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.3999, allocations: 0 / 0.5529 GB, free: 11.43 MB / 410.7 MB Notification: Performance of Templates: time 0.06017/0.4601, allocations: 33.75 MB / 0.5858 GB, free: 9.793 MB / 442.7 MB " [Timeout remaining time 660] 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.433074004016817]