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.001281/0.001281, allocations: 110.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 79.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.313, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01443/0.3274, allocations: 13.42 MB / 0.5448 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009226/0.3367, allocations: 4.541 MB / 0.5492 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.3393, allocations: 93.16 kB / 0.5493 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007411/0.3467, allocations: 4.173 MB / 0.5534 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.3523, allocations: 2.131 MB / 0.5554 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.3547, allocations: 0.9282 MB / 0.5564 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008282/0.363, allocations: 6.066 MB / 0.5623 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006875/0.3699, allocations: 5.17 MB / 0.5673 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.3739, allocations: 2.099 MB / 0.5694 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004634/0.3785, allocations: 2.808 MB / 0.5721 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.3802, allocations: 464 kB / 0.5726 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.3838, allocations: 1.346 MB / 0.5739 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003518/0.3873, allocations: 2.513 MB / 0.5763 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004839/0.3922, allocations: 2.82 MB / 0.5791 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4025, allocations: 9.01 MB / 0.5879 GB, free: 7.953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4026, allocations: 4 kB / 0.5879 GB, free: 7.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4026, allocations: 0 / 0.5879 GB, free: 7.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002925/0.4029, allocations: 0 / 0.5879 GB, free: 7.949 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.01399/0.4169, allocations: 6.067 MB / 0.5938 GB, free: 1.809 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4169, allocations: 8.031 kB / 0.5938 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.4284, allocations: 2.568 MB / 0.5963 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007951/0.4364, allocations: 3.813 MB / 0.6001 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.4366, allocations: 304 kB / 0.6003 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.438, allocations: 407.8 kB / 0.6007 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.4585, allocations: 11.28 MB / 0.6117 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/0.4588, allocations: 51.53 kB / 0.6118 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000955/0.4597, allocations: 187.9 kB / 0.612 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003312/0.4631, allocations: 2.018 MB / 0.6139 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.4812, allocations: 9.529 MB / 0.6232 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05829/0.5396, allocations: 44.92 MB / 0.6671 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.5505, allocations: 4.143 MB / 0.6712 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/0.5539, allocations: 2.34 MB / 0.6734 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/0.5704, allocations: 9.379 MB / 0.6826 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.5705, allocations: 51.5 kB / 0.6827 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 5.039e-06/0.5705, allocations: 3.938 kB / 0.6827 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05506/0.6256, allocations: 19.31 MB / 0.7015 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/0.6257, allocations: 201.2 kB / 0.7017 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007374/0.6331, allocations: 4.693 MB / 0.7063 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003974/0.6335, allocations: 53.69 kB / 0.7063 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002636/0.6362, allocations: 3.548 MB / 0.7098 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/0.6371, allocations: 0.7405 MB / 0.7105 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002222/0.6394, allocations: 1.332 MB / 0.7118 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.6395, allocations: 301.4 kB / 0.7121 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.6431, allocations: 2.386 MB / 0.7144 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2486/0.8917, allocations: 6.206 MB / 0.7205 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.9018, allocations: 9.216 MB / 0.7295 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002512/0.9021, allocations: 41.11 kB / 0.7295 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01774/0.9198, allocations: 9.688 MB / 0.739 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.92, allocations: 65.75 kB / 0.7391 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/0.9203, allocations: 134.1 kB / 0.7392 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/0.9243, allocations: 1.6 MB / 0.7408 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/0.9288, allocations: 1.469 MB / 0.7422 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.9394, allocations: 10 MB / 0.752 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00462/0.9441, allocations: 362 kB / 0.7523 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009381/0.945, allocations: 391.8 kB / 0.7527 GB, free: 140.2 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.003684/0.9487, allocations: 2.454 MB / 0.7551 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/0.9495, allocations: 405.6 kB / 0.7555 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007039/0.9566, allocations: 4.164 MB / 0.7595 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.9566, allocations: 15.95 kB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.9566, allocations: 0 / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/0.9574, allocations: 458.5 kB / 0.76 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006275/0.958, allocations: 32.97 kB / 0.76 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.9596, allocations: 115.8 kB / 0.7601 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.9599, allocations: 133.1 kB / 0.7603 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006917/0.9668, allocations: 4.578 MB / 0.7647 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005386/0.9722, allocations: 5.637 MB / 0.7702 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001403/0.9737, allocations: 1.466 MB / 0.7717 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003474/0.9771, allocations: 2.96 MB / 0.7746 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of Backend: time 1.613e-06/0.9772, allocations: 0 / 0.7746 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007915/0.9851, allocations: 4.805 MB / 0.7792 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01571/1.001, allocations: 11 MB / 0.79 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.07851/1.079, allocations: 53.43 MB / 0.8422 GB, free: 49.43 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