Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 109.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00201/0.00201, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 75.89 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3274, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01461/0.342, allocations: 13.42 MB / 0.5448 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009923/0.352, allocations: 4.542 MB / 0.5492 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.3549, allocations: 90.28 kB / 0.5493 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007464/0.3624, allocations: 4.178 MB / 0.5534 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.3683, allocations: 2.178 MB / 0.5555 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.3706, allocations: 0.9204 MB / 0.5564 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008597/0.3792, allocations: 6.077 MB / 0.5623 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007169/0.3864, allocations: 5.17 MB / 0.5674 GB, free: 13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.3906, allocations: 2.095 MB / 0.5694 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.3952, allocations: 2.812 MB / 0.5722 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.3969, allocations: 468 kB / 0.5726 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.4005, allocations: 1.338 MB / 0.5739 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003684/0.4042, allocations: 2.513 MB / 0.5764 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00588/0.4101, allocations: 2.832 MB / 0.5791 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4226, allocations: 9.002 MB / 0.5879 GB, free: 7.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4227, allocations: 4 kB / 0.5879 GB, free: 7.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4227, allocations: 0 / 0.5879 GB, free: 7.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003685/0.4231, allocations: 0 / 0.5879 GB, free: 7.883 MB / 446.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.0164/0.4395, allocations: 6.063 MB / 0.5939 GB, free: 1.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.4395, allocations: 8.031 kB / 0.5939 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.4525, allocations: 2.572 MB / 0.5964 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009781/0.4623, allocations: 3.813 MB / 0.6001 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.4626, allocations: 300.1 kB / 0.6004 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.4645, allocations: 403.8 kB / 0.6008 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.4891, allocations: 11.27 MB / 0.6118 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/0.4895, allocations: 67.5 kB / 0.6118 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.4911, allocations: 187.9 kB / 0.612 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.4948, allocations: 2.018 MB / 0.614 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.5147, allocations: 9.541 MB / 0.6233 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06185/0.5766, allocations: 44.91 MB / 0.6672 GB, free: 4.453 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.5875, allocations: 4.149 MB / 0.6712 GB, free: 156 kB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/0.5909, allocations: 2.34 MB / 0.6735 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01666/0.6075, allocations: 9.383 MB / 0.6827 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/0.6077, allocations: 47.5 kB / 0.6827 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 6.222e-06/0.6077, allocations: 0 / 0.6827 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05896/0.6666, allocations: 19.31 MB / 0.7016 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.6668, allocations: 205.2 kB / 0.7018 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009277/0.6761, allocations: 4.693 MB / 0.7064 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004945/0.6766, allocations: 53.7 kB / 0.7064 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/0.6798, allocations: 3.552 MB / 0.7099 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.681, allocations: 0.7405 MB / 0.7106 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003228/0.6842, allocations: 1.317 MB / 0.7119 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6844, allocations: 309.1 kB / 0.7122 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/0.6885, allocations: 2.371 MB / 0.7145 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3194/1.008, allocations: 6.212 MB / 0.7206 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.02, allocations: 9.226 MB / 0.7296 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002459/1.02, allocations: 38.66 kB / 0.7296 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01741/1.038, allocations: 9.69 MB / 0.7391 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/1.038, allocations: 65.2 kB / 0.7391 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/1.038, allocations: 133 kB / 0.7393 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/1.042, allocations: 1.6 MB / 0.7408 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.047, allocations: 1.473 MB / 0.7423 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/1.057, allocations: 10.01 MB / 0.752 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005538/1.063, allocations: 355.6 kB / 0.7524 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009273/1.064, allocations: 388.8 kB / 0.7527 GB, free: 140.3 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.003503/1.067, allocations: 2.46 MB / 0.7551 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/1.068, allocations: 406 kB / 0.7555 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006928/1.075, allocations: 4.17 MB / 0.7596 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.075, allocations: 11.97 kB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.075, allocations: 0 / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.076, allocations: 452.1 kB / 0.76 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004694/1.077, allocations: 28 kB / 0.7601 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.078, allocations: 123.7 kB / 0.7602 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.078, allocations: 137 kB / 0.7603 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007217/1.086, allocations: 4.562 MB / 0.7648 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005827/1.091, allocations: 5.639 MB / 0.7703 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001501/1.093, allocations: 1.47 MB / 0.7717 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00377/1.097, allocations: 2.956 MB / 0.7746 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/1.097, allocations: 4 kB / 0.7746 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009456/1.106, allocations: 4.819 MB / 0.7793 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01833/1.125, allocations: 10.99 MB / 0.79 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07951/1.204, allocations: 53.1 MB / 0.8419 GB, free: 49.75 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches