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.001225/0.001225, allocations: 113.9 kB / 18.46 MB, free: 4.641 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.001283/0.001283, allocations: 186.1 kB / 19.38 MB, free: 3.723 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.368/1.368, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2286/0.2286, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4015, allocations: 60.82 MB / 0.5196 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01628/0.4178, allocations: 13.56 MB / 0.5328 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.4298, allocations: 4.534 MB / 0.5372 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003931/0.4338, allocations: 89.5 kB / 0.5373 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0092/0.443, allocations: 4.19 MB / 0.5414 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00796/0.4511, allocations: 2.229 MB / 0.5436 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.4541, allocations: 0.9246 MB / 0.5445 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01079/0.4649, allocations: 6.024 MB / 0.5504 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008911/0.4738, allocations: 5.188 MB / 0.5554 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005493/0.4794, allocations: 2.115 MB / 0.5575 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.4853, allocations: 2.839 MB / 0.5603 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.4873, allocations: 468 kB / 0.5607 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004148/0.4915, allocations: 1.362 MB / 0.5621 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00413/0.4956, allocations: 2.548 MB / 0.5645 GB, free: 14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006921/0.5026, allocations: 2.875 MB / 0.5674 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.515, allocations: 9.158 MB / 0.5763 GB, free: 1.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.5151, allocations: 0 / 0.5763 GB, free: 1.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5151, allocations: 4 kB / 0.5763 GB, free: 1.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002677/0.5154, allocations: 0 / 0.5763 GB, free: 1.918 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.01543/0.5308, allocations: 6.126 MB / 0.5823 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5309, allocations: 12.02 kB / 0.5823 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.5426, allocations: 2.568 MB / 0.5848 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.5529, allocations: 3.887 MB / 0.5886 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.5532, allocations: 304.1 kB / 0.5889 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.5549, allocations: 403.8 kB / 0.5893 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/0.5773, allocations: 11.47 MB / 0.6005 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/0.5777, allocations: 63.42 kB / 0.6005 GB, free: 8.215 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.579, allocations: 183.9 kB / 0.6007 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003926/0.583, allocations: 2.085 MB / 0.6027 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.6031, allocations: 9.683 MB / 0.6122 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06927/0.6724, allocations: 45.33 MB / 0.6565 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.6837, allocations: 4.14 MB / 0.6605 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/0.6874, allocations: 2.343 MB / 0.6628 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/0.7075, allocations: 9.399 MB / 0.672 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.7076, allocations: 55.5 kB / 0.672 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.969e-06/0.7076, allocations: 0 / 0.672 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05651/0.7641, allocations: 19.35 MB / 0.6909 GB, free: 9.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.7642, allocations: 197.2 kB / 0.6911 GB, free: 9.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008207/0.7724, allocations: 4.706 MB / 0.6957 GB, free: 4.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003978/0.7729, allocations: 57.69 kB / 0.6958 GB, free: 4.754 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002773/0.7757, allocations: 3.591 MB / 0.6993 GB, free: 1.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.7767, allocations: 0.7482 MB / 0.7 GB, free: 364 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002706/0.7794, allocations: 1.333 MB / 0.7013 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7796, allocations: 305.1 kB / 0.7016 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004066/0.7836, allocations: 2.382 MB / 0.7039 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/0.7913, allocations: 6.229 MB / 0.71 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.8038, allocations: 9.254 MB / 0.719 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001594/0.8039, allocations: 43.94 kB / 0.7191 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.3231/1.127, allocations: 9.718 MB / 0.7286 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/1.127, allocations: 66.03 kB / 0.7286 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002996/1.128, allocations: 134.5 kB / 0.7288 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005907/1.134, allocations: 1.598 MB / 0.7303 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005523/1.139, allocations: 1.474 MB / 0.7318 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.153, allocations: 10 MB / 0.7415 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005697/1.159, allocations: 355.2 kB / 0.7419 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.16, allocations: 394.3 kB / 0.7422 GB, free: 171.2 MB / 0.5762 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.005569/1.166, allocations: 2.48 MB / 0.7447 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.167, allocations: 409.3 kB / 0.7451 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00765/1.174, allocations: 4.173 MB / 0.7491 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/1.174, allocations: 11.77 kB / 0.7491 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.174, allocations: 0 / 0.7491 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.176, allocations: 452.6 kB / 0.7496 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007922/1.177, allocations: 31.38 kB / 0.7496 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/1.178, allocations: 122.2 kB / 0.7497 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/1.179, allocations: 137.6 kB / 0.7499 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007712/1.186, allocations: 4.562 MB / 0.7543 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007337/1.194, allocations: 5.644 MB / 0.7598 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001689/1.196, allocations: 1.462 MB / 0.7613 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004157/1.2, allocations: 2.965 MB / 0.7641 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of Backend: time 7.62e-07/1.2, allocations: 3.531 kB / 0.7641 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.211, allocations: 4.828 MB / 0.7689 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01836/1.23, allocations: 11.1 MB / 0.7797 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.08734/1.317, allocations: 53.46 MB / 0.8319 GB, free: 94.92 MB / 0.5762 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