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.001069/0.001069, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001232/0.001233, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.196/0.196, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01347/0.377, allocations: 13.55 MB / 0.5321 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.3876, allocations: 4.535 MB / 0.5366 GB, free: 6.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/0.3915, allocations: 95.16 kB / 0.5367 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00909/0.4006, allocations: 4.197 MB / 0.5408 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007619/0.4084, allocations: 2.167 MB / 0.5429 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.411, allocations: 0.9251 MB / 0.5438 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.4224, allocations: 6.015 MB / 0.5496 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007376/0.4298, allocations: 5.193 MB / 0.5547 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.4339, allocations: 2.115 MB / 0.5568 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.4384, allocations: 2.835 MB / 0.5596 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.44, allocations: 468 kB / 0.56 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.4435, allocations: 1.366 MB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.4467, allocations: 2.548 MB / 0.5638 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004744/0.4514, allocations: 2.875 MB / 0.5666 GB, free: 11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.462, allocations: 9.161 MB / 0.5756 GB, free: 1.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.462, allocations: 0 / 0.5756 GB, free: 1.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4621, allocations: 0 / 0.5756 GB, free: 1.812 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002602/0.4623, allocations: 3.938 kB / 0.5756 GB, free: 1.809 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.0138/0.4761, allocations: 6.137 MB / 0.5816 GB, free: 11.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4762, allocations: 8.031 kB / 0.5816 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.4875, allocations: 2.564 MB / 0.5841 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.4989, allocations: 3.875 MB / 0.5879 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/0.4993, allocations: 304.1 kB / 0.5882 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.5012, allocations: 411.8 kB / 0.5885 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.5251, allocations: 11.46 MB / 0.5997 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/0.5255, allocations: 63.42 kB / 0.5998 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/0.5269, allocations: 187.9 kB / 0.6 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003666/0.5306, allocations: 2.081 MB / 0.602 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/0.5509, allocations: 9.694 MB / 0.6115 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06305/0.614, allocations: 45.32 MB / 0.6557 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009973/0.624, allocations: 4.152 MB / 0.6598 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/0.6272, allocations: 2.339 MB / 0.6621 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/0.6433, allocations: 9.395 MB / 0.6712 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.6434, allocations: 47.56 kB / 0.6713 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.388e-06/0.6434, allocations: 0 / 0.6713 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.05265/0.6961, allocations: 19.35 MB / 0.6902 GB, free: 9.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.6962, allocations: 201.5 kB / 0.6904 GB, free: 9.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/0.7044, allocations: 4.709 MB / 0.695 GB, free: 4.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004956/0.7049, allocations: 53.7 kB / 0.695 GB, free: 4.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003155/0.7081, allocations: 3.606 MB / 0.6986 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.7094, allocations: 0.7444 MB / 0.6993 GB, free: 244 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/0.7127, allocations: 1.321 MB / 0.7006 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7129, allocations: 301.1 kB / 0.7009 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004635/0.7175, allocations: 2.386 MB / 0.7032 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007313/0.7249, allocations: 6.237 MB / 0.7093 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.7359, allocations: 9.253 MB / 0.7183 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/0.7361, allocations: 40 kB / 0.7184 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.3433/1.079, allocations: 9.713 MB / 0.7278 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.08, allocations: 63.47 kB / 0.7279 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/1.08, allocations: 134.2 kB / 0.728 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005123/1.085, allocations: 1.602 MB / 0.7296 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/1.09, allocations: 1.472 MB / 0.731 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/1.105, allocations: 10.01 MB / 0.7408 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/1.111, allocations: 356.3 kB / 0.7411 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.112, allocations: 392.5 kB / 0.7415 GB, free: 170.9 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.005198/1.117, allocations: 2.487 MB / 0.744 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/1.118, allocations: 410.3 kB / 0.7443 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/1.126, allocations: 4.165 MB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/1.126, allocations: 22.34 kB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/1.126, allocations: 7.656 kB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.126, allocations: 7.688 kB / 0.7484 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.141, allocations: 9.564 MB / 0.7578 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.141, allocations: 0 / 0.7578 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.142, allocations: 294.5 kB / 0.7581 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003585/1.146, allocations: 1.356 MB / 0.7594 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.146, allocations: 31.88 kB / 0.7594 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009665/1.155, allocations: 9.39 MB / 0.7686 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.155, allocations: 3.938 kB / 0.7686 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008978/1.164, allocations: 6.872 MB / 0.7753 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.166, allocations: 456.2 kB / 0.7757 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/1.166, allocations: 32 kB / 0.7758 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.168, allocations: 115.8 kB / 0.7759 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/1.168, allocations: 124.6 kB / 0.776 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.168, allocations: 47.98 kB / 0.776 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003738/1.172, allocations: 2.972 MB / 0.7789 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.172, allocations: 0 / 0.7789 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005501/1.177, allocations: 1.2 MB / 0.7801 GB, free: 146.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 136 * 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 {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004273/1.178, allocations: 157.6 kB / 0.7803 GB, free: 146 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007713/1.186, allocations: 5.912 MB / 0.786 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.186, allocations: 4 kB / 0.786 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/1.188, allocations: 1.975 MB / 0.788 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/1.191, allocations: 0.537 MB / 0.7885 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.209, allocations: 11.06 MB / 0.7993 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004893/1.214, allocations: 3.867 MB / 0.8031 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004253/1.218, allocations: 1.988 MB / 0.805 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/1.219, allocations: 263.4 kB / 0.8053 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.219, allocations: 4 kB / 0.8053 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.06942/1.289, allocations: 41.89 MB / 0.8462 GB, free: 78.93 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins/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