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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009283/0.0009282, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 242.1 MB, free: 9.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007739/0.000774, allocations: 101.1 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3915/0.3915, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004069, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 61.87 MB / 0.5107 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.4954, allocations: 110 MB / 0.6182 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4958, allocations: 95.94 kB / 0.6183 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5677/1.064, allocations: 102.3 MB / 0.7182 GB, free: 94.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.064, allocations: 0 / 0.7182 GB, free: 94.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006353/1.064, allocations: 107.8 kB / 0.7183 GB, free: 94.45 MB / 490.7 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.02228/1.087, allocations: 5.371 MB / 0.7236 GB, free: 92.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/1.087, allocations: 8.719 kB / 0.7236 GB, free: 92.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/1.109, allocations: 5.213 MB / 0.7287 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/1.123, allocations: 5.356 MB / 0.7339 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/1.124, allocations: 386.6 kB / 0.7343 GB, free: 89.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/1.127, allocations: 0.51 MB / 0.7348 GB, free: 88.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/1.155, allocations: 11.87 MB / 0.7464 GB, free: 82.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004569/1.155, allocations: 71 kB / 0.7464 GB, free: 82.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002331/1.158, allocations: 250.6 kB / 0.7467 GB, free: 82.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001646/1.159, allocations: 1.07 MB / 0.7477 GB, free: 82.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/1.179, allocations: 9.442 MB / 0.7569 GB, free: 79.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/1.241, allocations: 55.06 MB / 0.8107 GB, free: 31.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008869/1.25, allocations: 3.934 MB / 0.8145 GB, free: 27.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/1.252, allocations: 2.124 MB / 0.8166 GB, free: 25.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/1.266, allocations: 8.802 MB / 0.8252 GB, free: 16.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.266, allocations: 59.5 kB / 0.8253 GB, free: 16.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 4.859e-06/1.266, allocations: 3.938 kB / 0.8253 GB, free: 16.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.04249/1.309, allocations: 16.99 MB / 0.8419 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.309, allocations: 197.2 kB / 0.842 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009367/1.318, allocations: 4.659 MB / 0.8466 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005041/1.319, allocations: 49.7 kB / 0.8466 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003236/1.322, allocations: 3.666 MB / 0.8502 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.323, allocations: 0.7342 MB / 0.8509 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/1.323, allocations: 124 kB / 0.8511 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003638/1.324, allocations: 0.5743 MB / 0.8516 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00321/1.327, allocations: 2.066 MB / 0.8536 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/1.333, allocations: 5.917 MB / 0.8594 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.344, allocations: 8.721 MB / 0.8679 GB, free: 456 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/1.344, allocations: 40 kB / 0.868 GB, free: 416 kB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.019/1.363, allocations: 8.432 MB / 0.8762 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/1.363, allocations: 71.97 kB / 0.8763 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002313/1.364, allocations: 136 kB / 0.8764 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/1.366, allocations: 0.9047 MB / 0.8773 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/1.371, allocations: 1.415 MB / 0.8787 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3486/1.72, allocations: 7.245 MB / 0.8857 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/1.725, allocations: 332.3 kB / 0.8861 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.726, allocations: 386.7 kB / 0.8864 GB, free: 124.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (754): * Single equations (assignments): 749 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004998/1.731, allocations: 2.485 MB / 0.8889 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009324/1.732, allocations: 411.1 kB / 0.8892 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005531/1.738, allocations: 3.163 MB / 0.8923 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/1.738, allocations: 21.8 kB / 0.8924 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.738, allocations: 9.922 kB / 0.8924 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.738, allocations: 11.45 kB / 0.8924 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/1.753, allocations: 8.436 MB / 0.9006 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.753, allocations: 3.594 kB / 0.9006 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.754, allocations: 288.6 kB / 0.9009 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/1.756, allocations: 0.6908 MB / 0.9016 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.756, allocations: 42.53 kB / 0.9016 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006643/1.763, allocations: 6.552 MB / 0.908 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/1.763, allocations: 0 / 0.908 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/1.772, allocations: 5.585 MB / 0.9135 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.774, allocations: 453 kB / 0.9139 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/1.774, allocations: 32.19 kB / 0.9139 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.775, allocations: 99.47 kB / 0.914 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.776, allocations: 120.8 kB / 0.9141 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.776, allocations: 51.52 kB / 0.9142 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006536/1.783, allocations: 2.93 MB / 0.917 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/1.783, allocations: 0 / 0.917 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008588/1.791, allocations: 1.123 MB / 0.9181 GB, free: 116.2 MB / 0.5261 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.000575/1.792, allocations: 172.5 kB / 0.9183 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01063/1.802, allocations: 5.288 MB / 0.9235 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.802, allocations: 2.281 kB / 0.9235 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/1.805, allocations: 1.779 MB / 0.9252 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.81, allocations: 0.5466 MB / 0.9257 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/1.832, allocations: 12.72 MB / 0.9382 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004531/1.836, allocations: 3.856 MB / 0.9419 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005305/1.842, allocations: 1.995 MB / 0.9439 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008098/1.843, allocations: 267.5 kB / 0.9441 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.164e-06/1.843, allocations: 0 / 0.9441 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.07681/1.919, allocations: 39.22 MB / 0.9824 GB, free: 94.8 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches