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.00182/0.00182, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002031/0.002031, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.128/2.128, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.3946/0.3946, allocations: 44.17 MB / 336.8 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 72.95 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.4671/0.6412, allocations: 69.5 MB / 0.5261 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04732/0.6886, allocations: 13.92 MB / 0.5396 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0246/0.7133, allocations: 303.3 kB / 0.5399 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.7249, allocations: 4.214 MB / 0.5441 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009372/0.7344, allocations: 2.048 MB / 0.5461 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.7381, allocations: 0.8474 MB / 0.5469 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01673/0.7548, allocations: 8.743 MB / 0.5554 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.7659, allocations: 5.072 MB / 0.5604 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005704/0.7717, allocations: 1.887 MB / 0.5622 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007687/0.7794, allocations: 3.011 MB / 0.5652 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002294/0.7818, allocations: 331.9 kB / 0.5655 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.7871, allocations: 1.283 MB / 0.5667 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005318/0.7925, allocations: 2.435 MB / 0.5691 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007621/0.8002, allocations: 2.742 MB / 0.5718 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.8135, allocations: 7.293 MB / 0.5789 GB, free: 4.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.8136, allocations: 0 / 0.5789 GB, free: 4.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8136, allocations: 0 / 0.5789 GB, free: 4.355 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004402/0.814, allocations: 0 / 0.5789 GB, free: 4.355 MB / 414.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.02692/0.841, allocations: 6.118 MB / 0.5849 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/0.8411, allocations: 12.03 kB / 0.5849 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02133/0.8624, allocations: 2.564 MB / 0.5874 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.8778, allocations: 3.812 MB / 0.5911 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005239/0.8784, allocations: 308.1 kB / 0.5914 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.881, allocations: 400.1 kB / 0.5918 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03987/0.9209, allocations: 11.47 MB / 0.603 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004888/0.9215, allocations: 55.5 kB / 0.603 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00283/0.9243, allocations: 187.8 kB / 0.6032 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006731/0.9311, allocations: 2.089 MB / 0.6053 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/0.9653, allocations: 9.686 MB / 0.6147 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0986/1.064, allocations: 45.53 MB / 0.6592 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.081, allocations: 4.143 MB / 0.6632 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005438/1.086, allocations: 2.343 MB / 0.6655 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/1.113, allocations: 9.395 MB / 0.6747 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/1.113, allocations: 43.56 kB / 0.6747 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 7.293e-06/1.113, allocations: 0 / 0.6747 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.09741/1.21, allocations: 19.36 MB / 0.6936 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/1.211, allocations: 205.2 kB / 0.6938 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/1.224, allocations: 4.702 MB / 0.6984 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006092/1.225, allocations: 53.7 kB / 0.6985 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00419/1.229, allocations: 3.599 MB / 0.702 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.231, allocations: 0.7447 MB / 0.7027 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004988/1.236, allocations: 1.332 MB / 0.704 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.236, allocations: 301.1 kB / 0.7043 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3465/1.583, allocations: 2.38 MB / 0.7066 GB, free: 190 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/1.594, allocations: 6.241 MB / 0.7127 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/1.611, allocations: 9.249 MB / 0.7218 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003239/1.611, allocations: 43.31 kB / 0.7218 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.03473/1.646, allocations: 9.71 MB / 0.7313 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/1.646, allocations: 64.06 kB / 0.7314 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002683/1.647, allocations: 140.2 kB / 0.7315 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00809/1.655, allocations: 1.591 MB / 0.733 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008591/1.664, allocations: 1.477 MB / 0.7345 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/1.681, allocations: 9.364 MB / 0.7436 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008778/1.69, allocations: 358.4 kB / 0.744 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.692, allocations: 391.5 kB / 0.7443 GB, free: 168.1 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 (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.007676/1.7, allocations: 2.482 MB / 0.7468 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.701, allocations: 408.2 kB / 0.7472 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.714, allocations: 4.173 MB / 0.7512 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.758e-05/1.714, allocations: 23.38 kB / 0.7513 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.714, allocations: 8 kB / 0.7513 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-05/1.714, allocations: 7.969 kB / 0.7513 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03135/1.746, allocations: 9.614 MB / 0.7607 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/1.746, allocations: 3.938 kB / 0.7607 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/1.748, allocations: 291.6 kB / 0.7609 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/1.754, allocations: 1.355 MB / 0.7623 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004967/1.755, allocations: 28 kB / 0.7623 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/1.772, allocations: 8.735 MB / 0.7708 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.772, allocations: 6.375 kB / 0.7708 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/1.791, allocations: 6.881 MB / 0.7775 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.793, allocations: 455.7 kB / 0.778 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.794, allocations: 28 kB / 0.778 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003999/1.798, allocations: 115.8 kB / 0.7781 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/1.799, allocations: 125 kB / 0.7782 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000369/1.8, allocations: 48.52 kB / 0.7783 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008504/1.808, allocations: 2.968 MB / 0.7812 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.072e-06/1.808, allocations: 0 / 0.7812 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01192/1.82, allocations: 1.191 MB / 0.7823 GB, free: 130.8 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 (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.001/1.821, allocations: 171.8 kB / 0.7825 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.837, allocations: 5.881 MB / 0.7882 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.837, allocations: 5.828 kB / 0.7883 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005099/1.842, allocations: 1.972 MB / 0.7902 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007005/1.849, allocations: 0.5189 MB / 0.7907 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03543/1.885, allocations: 14.05 MB / 0.8044 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008967/1.894, allocations: 3.843 MB / 0.8082 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.896, allocations: 315.4 kB / 0.8085 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of SimCode: time 3.256e-06/1.896, allocations: 0 / 0.8085 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.5743/2.47, allocations: 112.6 MB / 0.9184 GB, free: 171.2 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/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