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.0008204/0.0008205, allocations: 93.56 kB / 17 MB, free: 6.129 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.0008221/0.0008221, allocations: 181.7 kB / 17.89 MB, free: 5.707 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.475/1.475, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 44.25 MB / 337.3 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 61.95 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3743/0.52, allocations: 63.05 MB / 0.5221 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03731/0.5574, allocations: 13.29 MB / 0.5351 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02194/0.5794, allocations: 303.8 kB / 0.5354 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.5925, allocations: 3.29 MB / 0.5386 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03101/0.6235, allocations: 9.663 MB / 0.548 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.6289, allocations: 0.8047 MB / 0.5488 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0818/0.7107, allocations: 61.94 MB / 0.6093 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.7211, allocations: 6.534 MB / 0.6157 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.7253, allocations: 1.642 MB / 0.6173 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.7298, allocations: 2.543 MB / 0.6198 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008504/0.7307, allocations: 184 kB / 0.62 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.7335, allocations: 0.9792 MB / 0.6209 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002401/0.7359, allocations: 2.178 MB / 0.623 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.7375, allocations: 1.041 MB / 0.6241 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008708/0.7462, allocations: 7.1 MB / 0.631 GB, free: 1.434 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.7463, allocations: 4 kB / 0.631 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7463, allocations: 0 / 0.631 GB, free: 1.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003063/0.7466, allocations: 0 / 0.631 GB, free: 1.43 MB / 462.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.01826/0.7649, allocations: 5.101 MB / 0.636 GB, free: 12.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7649, allocations: 8.031 kB / 0.636 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.781, allocations: 2.621 MB / 0.6386 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.7943, allocations: 3.739 MB / 0.6422 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005705/0.7949, allocations: 299.8 kB / 0.6425 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.797, allocations: 407.8 kB / 0.6429 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03147/0.8285, allocations: 11.46 MB / 0.6541 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002949/0.8289, allocations: 51.59 kB / 0.6541 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/0.8302, allocations: 183.9 kB / 0.6543 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/0.8339, allocations: 2.093 MB / 0.6563 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.8548, allocations: 9.671 MB / 0.6658 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3433/1.198, allocations: 45.53 MB / 0.7102 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/1.209, allocations: 4.144 MB / 0.7143 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003821/1.213, allocations: 2.339 MB / 0.7166 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/1.228, allocations: 9.393 MB / 0.7258 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.228, allocations: 56.69 kB / 0.7258 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 4.919e-06/1.228, allocations: 0 / 0.7258 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.04506/1.273, allocations: 19.37 MB / 0.7447 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/1.273, allocations: 202.3 kB / 0.7449 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006102/1.28, allocations: 4.683 MB / 0.7495 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003813/1.28, allocations: 53.7 kB / 0.7495 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/1.282, allocations: 3.594 MB / 0.753 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007351/1.283, allocations: 0.7447 MB / 0.7538 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.283, allocations: 132 kB / 0.7539 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002468/1.283, allocations: 0.5771 MB / 0.7545 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/1.286, allocations: 2.363 MB / 0.7568 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/1.291, allocations: 6.212 MB / 0.7628 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/1.295, allocations: 3.757 MB / 0.7665 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.519e-05/1.295, allocations: 40 kB / 0.7665 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01406/1.309, allocations: 9.664 MB / 0.776 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/1.309, allocations: 67.98 kB / 0.776 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.309, allocations: 140 kB / 0.7762 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/1.313, allocations: 1.619 MB / 0.7778 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/1.317, allocations: 1.481 MB / 0.7792 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/1.327, allocations: 9.348 MB / 0.7883 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/1.332, allocations: 365.4 kB / 0.7887 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009916/1.333, allocations: 388 kB / 0.7891 GB, free: 126.5 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003937/1.337, allocations: 2.488 MB / 0.7915 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007903/1.338, allocations: 406.8 kB / 0.7919 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007161/1.345, allocations: 4.177 MB / 0.796 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/1.345, allocations: 21.95 kB / 0.796 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.346, allocations: 8 kB / 0.796 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/1.346, allocations: 7.969 kB / 0.796 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/1.364, allocations: 9.613 MB / 0.8054 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/1.365, allocations: 4 kB / 0.8054 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.366, allocations: 287.6 kB / 0.8057 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003452/1.369, allocations: 1.362 MB / 0.807 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/1.37, allocations: 31.98 kB / 0.807 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009352/1.379, allocations: 8.741 MB / 0.8156 GB, free: 99.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.379, allocations: 0 / 0.8156 GB, free: 99.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009976/1.389, allocations: 6.863 MB / 0.8223 GB, free: 92.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.391, allocations: 467.6 kB / 0.8227 GB, free: 91.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.392, allocations: 36.53 kB / 0.8227 GB, free: 91.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.394, allocations: 121.2 kB / 0.8229 GB, free: 91.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/1.394, allocations: 121.1 kB / 0.823 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.394, allocations: 44 kB / 0.823 GB, free: 91.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006183/1.401, allocations: 2.941 MB / 0.8259 GB, free: 88.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.12e-07/1.401, allocations: 0 / 0.8259 GB, free: 88.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007575/1.408, allocations: 1.202 MB / 0.8271 GB, free: 87.24 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005194/1.409, allocations: 156.7 kB / 0.8272 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009023/1.418, allocations: 5.888 MB / 0.833 GB, free: 81.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.418, allocations: 0 / 0.833 GB, free: 81.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/1.42, allocations: 1.972 MB / 0.8349 GB, free: 79.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.425, allocations: 0.5231 MB / 0.8354 GB, free: 78.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.443, allocations: 13.11 MB / 0.8482 GB, free: 65.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/1.447, allocations: 3.851 MB / 0.852 GB, free: 61.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004734/1.452, allocations: 1.992 MB / 0.8539 GB, free: 59.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/1.453, allocations: 267.4 kB / 0.8542 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/1.453, allocations: 4 kB / 0.8542 GB, free: 59.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.07309/1.526, allocations: 42 MB / 0.8952 GB, free: 17.6 MB / 0.5294 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