Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001731/0.001731, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002184/0.002184, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 46.97 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3228, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01504/0.3379, allocations: 11.74 MB / 0.5733 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009561/0.3474, allocations: 4.342 MB / 0.5775 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.3494, allocations: 111.4 kB / 0.5776 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008223/0.3576, allocations: 4.058 MB / 0.5816 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.3636, allocations: 2.202 MB / 0.5837 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.3658, allocations: 0.9282 MB / 0.5847 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008285/0.3741, allocations: 6.078 MB / 0.5906 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005546/0.3796, allocations: 3.983 MB / 0.5945 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.3837, allocations: 2.142 MB / 0.5966 GB, free: 460 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004785/0.3885, allocations: 3.018 MB / 0.5995 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.3897, allocations: 468 kB / 0.6 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.3925, allocations: 1.256 MB / 0.6012 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.3953, allocations: 2.563 MB / 0.6037 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003567/0.3988, allocations: 2.125 MB / 0.6058 GB, free: 7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.4103, allocations: 9.079 MB / 0.6146 GB, free: 13.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4103, allocations: 0 / 0.6146 GB, free: 13.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4104, allocations: 4 kB / 0.6146 GB, free: 13.88 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002485/0.4106, allocations: 0 / 0.6146 GB, free: 13.88 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.01482/0.4254, allocations: 6.139 MB / 0.6206 GB, free: 7.676 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4255, allocations: 12.02 kB / 0.6206 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.4375, allocations: 2.603 MB / 0.6232 GB, free: 5.055 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.448, allocations: 3.746 MB / 0.6268 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.4483, allocations: 296.1 kB / 0.6271 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.4498, allocations: 411.9 kB / 0.6275 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.472, allocations: 11.35 MB / 0.6386 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/0.4721, allocations: 59.52 kB / 0.6387 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005573/0.4727, allocations: 187.9 kB / 0.6388 GB, free: 4.203 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003632/0.4763, allocations: 2.022 MB / 0.6408 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.4962, allocations: 9.502 MB / 0.6501 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06123/0.5574, allocations: 41.12 MB / 0.6902 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.5682, allocations: 3.541 MB / 0.6937 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/0.5716, allocations: 2.172 MB / 0.6958 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/0.5885, allocations: 8.316 MB / 0.7039 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.5886, allocations: 51.55 kB / 0.704 GB, free: 252 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 9.368e-06/0.5886, allocations: 3.984 kB / 0.704 GB, free: 248 kB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05604/0.6446, allocations: 19.4 MB / 0.7229 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.6448, allocations: 205.2 kB / 0.7231 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006474/0.6513, allocations: 4.439 MB / 0.7275 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004813/0.6517, allocations: 53.69 kB / 0.7275 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003043/0.6548, allocations: 3.709 MB / 0.7312 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.6559, allocations: 0.7754 MB / 0.7319 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/0.6579, allocations: 1.33 MB / 0.7332 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6581, allocations: 301.1 kB / 0.7335 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2982/0.9562, allocations: 2.382 MB / 0.7358 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/0.9631, allocations: 6.263 MB / 0.7419 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00869/0.9718, allocations: 9.221 MB / 0.7509 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/0.9719, allocations: 38.38 kB / 0.751 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01783/0.9898, allocations: 9.662 MB / 0.7604 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.99, allocations: 67.75 kB / 0.7605 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003025/0.9903, allocations: 136.2 kB / 0.7606 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/0.9948, allocations: 1.595 MB / 0.7622 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004906/0.9997, allocations: 1.466 MB / 0.7636 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.01, allocations: 9.649 MB / 0.773 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005102/1.016, allocations: 356.8 kB / 0.7734 GB, free: 125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.017, allocations: 387.8 kB / 0.7737 GB, free: 124.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (787): * Single equations (assignments): 782 * 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 {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004109/1.021, allocations: 2.45 MB / 0.7761 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008443/1.022, allocations: 397.7 kB / 0.7765 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007048/1.029, allocations: 4.114 MB / 0.7805 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/1.029, allocations: 12.81 kB / 0.7805 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.029, allocations: 0 / 0.7805 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.03, allocations: 351 kB / 0.7809 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000924/1.031, allocations: 31.98 kB / 0.7809 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.033, allocations: 111.8 kB / 0.781 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/1.033, allocations: 145 kB / 0.7811 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007351/1.04, allocations: 4.552 MB / 0.7856 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006279/1.047, allocations: 5.624 MB / 0.7911 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001501/1.048, allocations: 1.38 MB / 0.7924 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004525/1.053, allocations: 2.624 MB / 0.795 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of Backend: time 3.4e-07/1.053, allocations: 0 / 0.795 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.063, allocations: 4.593 MB / 0.7995 GB, free: 98.94 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02081/1.084, allocations: 11.16 MB / 0.8104 GB, free: 87.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.08893/1.173, allocations: 58.47 MB / 0.8675 GB, free: 29.89 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.434717372998421]