Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 111.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001585, allocations: 185.9 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2026/0.2026, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3502, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01459/0.3648, allocations: 13.56 MB / 0.5328 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3769, allocations: 4.528 MB / 0.5372 GB, free: 6.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004318/0.3813, allocations: 90.78 kB / 0.5373 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008865/0.3902, allocations: 4.197 MB / 0.5414 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006961/0.3972, allocations: 2.229 MB / 0.5436 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.3998, allocations: 0.9217 MB / 0.5445 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.4099, allocations: 6.024 MB / 0.5504 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007869/0.4179, allocations: 5.188 MB / 0.5554 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.4223, allocations: 2.119 MB / 0.5575 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.427, allocations: 2.835 MB / 0.5603 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001834/0.4289, allocations: 471.9 kB / 0.5607 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.4327, allocations: 1.358 MB / 0.5621 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003902/0.4366, allocations: 2.552 MB / 0.5646 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.4424, allocations: 2.875 MB / 0.5674 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.4571, allocations: 9.192 MB / 0.5763 GB, free: 1.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.4572, allocations: 0 / 0.5763 GB, free: 1.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4572, allocations: 7.938 kB / 0.5763 GB, free: 1.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003954/0.4576, allocations: 0 / 0.5763 GB, free: 1.898 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01799/0.4756, allocations: 6.281 MB / 0.5825 GB, free: 11.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4757, allocations: 8.031 kB / 0.5825 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.4876, allocations: 2.606 MB / 0.585 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009347/0.497, allocations: 3.9 MB / 0.5888 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.4973, allocations: 300.1 kB / 0.5891 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.499, allocations: 407.9 kB / 0.5895 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.5234, allocations: 11.47 MB / 0.6007 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003356/0.5238, allocations: 55.53 kB / 0.6008 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.5255, allocations: 187.9 kB / 0.6009 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003899/0.5295, allocations: 2.085 MB / 0.603 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.5506, allocations: 9.69 MB / 0.6124 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06217/0.6129, allocations: 45.42 MB / 0.6568 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.623, allocations: 4.136 MB / 0.6608 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/0.6263, allocations: 2.339 MB / 0.6631 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.6422, allocations: 9.424 MB / 0.6723 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/0.6423, allocations: 55.5 kB / 0.6724 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 7.474e-06/0.6423, allocations: 0 / 0.6724 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05342/0.6958, allocations: 19.62 MB / 0.6915 GB, free: 9.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.6959, allocations: 209.2 kB / 0.6917 GB, free: 8.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008825/0.7048, allocations: 4.707 MB / 0.6963 GB, free: 4.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004953/0.7053, allocations: 53.7 kB / 0.6964 GB, free: 4.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003104/0.7084, allocations: 3.739 MB / 0.7 GB, free: 416 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/0.7097, allocations: 0.7794 MB / 0.7008 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003109/0.7128, allocations: 1.341 MB / 0.7021 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7129, allocations: 305.1 kB / 0.7024 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.717, allocations: 2.382 MB / 0.7047 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/0.7235, allocations: 6.237 MB / 0.7108 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2984/1.022, allocations: 9.243 MB / 0.7198 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/1.022, allocations: 38.72 kB / 0.7199 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02046/1.043, allocations: 9.74 MB / 0.7294 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.043, allocations: 62.25 kB / 0.7295 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.043, allocations: 135.7 kB / 0.7296 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/1.048, allocations: 1.605 MB / 0.7311 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004972/1.053, allocations: 1.47 MB / 0.7326 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.063, allocations: 10.01 MB / 0.7424 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004816/1.067, allocations: 365.7 kB / 0.7427 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/1.068, allocations: 393 kB / 0.7431 GB, free: 149 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (790): * Single equations (assignments): 785 * 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.003151/1.071, allocations: 2.481 MB / 0.7455 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/1.072, allocations: 424.3 kB / 0.7459 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/1.078, allocations: 4.168 MB / 0.75 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.078, allocations: 7.969 kB / 0.75 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/1.078, allocations: 7.672 kB / 0.75 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/1.079, allocations: 469.7 kB / 0.7504 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004621/1.08, allocations: 36.11 kB / 0.7505 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.081, allocations: 116.5 kB / 0.7506 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003288/1.082, allocations: 132.7 kB / 0.7507 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006807/1.088, allocations: 4.575 MB / 0.7552 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005645/1.094, allocations: 5.673 MB / 0.7607 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001382/1.095, allocations: 1.464 MB / 0.7622 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003731/1.099, allocations: 2.968 MB / 0.7651 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of Backend: time 6.22e-07/1.099, allocations: 0 / 0.7651 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009241/1.108, allocations: 4.831 MB / 0.7698 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0163/1.125, allocations: 11.28 MB / 0.7808 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08189/1.207, allocations: 53.46 MB / 0.833 GB, free: 62.23 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches