Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008616/0.0008614, allocations: 96.11 kB / 17 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 197 kB / 17.9 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 63.56 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3348/0.4702, allocations: 59.36 MB / 0.5291 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03781/0.508, allocations: 12.51 MB / 0.5413 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01373/0.5218, allocations: 290.5 kB / 0.5416 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.5326, allocations: 3.105 MB / 0.5446 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03036/0.563, allocations: 9.031 MB / 0.5534 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005563/0.5686, allocations: 0.7992 MB / 0.5542 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08355/0.6522, allocations: 61.97 MB / 0.6147 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/0.6638, allocations: 6.502 MB / 0.6211 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.669, allocations: 1.627 MB / 0.6226 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005143/0.6742, allocations: 2.528 MB / 0.6251 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.6755, allocations: 176 kB / 0.6253 GB, free: 4.562 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.6786, allocations: 0.9597 MB / 0.6262 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002988/0.6816, allocations: 2.131 MB / 0.6283 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.6832, allocations: 1.018 MB / 0.6293 GB, free: 448 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008502/0.6917, allocations: 6.987 MB / 0.6361 GB, free: 9.434 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.6917, allocations: 0 / 0.6361 GB, free: 9.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6918, allocations: 0 / 0.6361 GB, free: 9.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002902/0.6921, allocations: 4 kB / 0.6361 GB, free: 9.43 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.01171/0.7038, allocations: 5.05 MB / 0.641 GB, free: 4.309 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7038, allocations: 12.03 kB / 0.6411 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.7151, allocations: 2.633 MB / 0.6436 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008657/0.7238, allocations: 3.673 MB / 0.6472 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.7242, allocations: 299.6 kB / 0.6475 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002127/0.7263, allocations: 399.7 kB / 0.6479 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.034/0.7604, allocations: 11.26 MB / 0.6589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003101/0.7607, allocations: 55.48 kB / 0.6589 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.7622, allocations: 195.8 kB / 0.6591 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005166/0.7674, allocations: 2.026 MB / 0.6611 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.791, allocations: 9.516 MB / 0.6704 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.377/1.168, allocations: 45.11 MB / 0.7145 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.179, allocations: 4.156 MB / 0.7185 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/1.183, allocations: 2.338 MB / 0.7208 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/1.2, allocations: 9.38 MB / 0.73 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/1.2, allocations: 53.94 kB / 0.73 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 5.621e-06/1.2, allocations: 2.188 kB / 0.73 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.049/1.249, allocations: 19.32 MB / 0.7489 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/1.249, allocations: 198.1 kB / 0.7491 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005994/1.255, allocations: 4.665 MB / 0.7536 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.256, allocations: 53.7 kB / 0.7537 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.258, allocations: 3.559 MB / 0.7571 GB, free: 138 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008791/1.259, allocations: 0.7363 MB / 0.7579 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/1.259, allocations: 132.6 kB / 0.758 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003056/1.259, allocations: 0.5749 MB / 0.7585 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/1.262, allocations: 2.363 MB / 0.7609 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.266, allocations: 6.191 MB / 0.7669 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/1.27, allocations: 3.743 MB / 0.7706 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-05/1.27, allocations: 40 kB / 0.7706 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01416/1.284, allocations: 9.651 MB / 0.78 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.285, allocations: 68.03 kB / 0.7801 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/1.285, allocations: 132.9 kB / 0.7802 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/1.289, allocations: 1.615 MB / 0.7818 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/1.293, allocations: 1.47 MB / 0.7832 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/1.303, allocations: 9.353 MB / 0.7924 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006005/1.309, allocations: 375.3 kB / 0.7927 GB, free: 99.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/1.311, allocations: 384.8 kB / 0.7931 GB, free: 99.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.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 (787): * Single equations (assignments): 782 * 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.005932/1.317, allocations: 2.453 MB / 0.7955 GB, free: 97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/1.318, allocations: 402.8 kB / 0.7959 GB, free: 96.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007956/1.326, allocations: 4.177 MB / 0.7999 GB, free: 92.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/1.326, allocations: 20 kB / 0.8 GB, free: 92.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/1.326, allocations: 8 kB / 0.8 GB, free: 92.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.326, allocations: 11.97 kB / 0.8 GB, free: 92.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.343, allocations: 9.569 MB / 0.8093 GB, free: 82.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.343, allocations: 0 / 0.8093 GB, free: 82.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.344, allocations: 290.3 kB / 0.8096 GB, free: 82.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.347, allocations: 1.358 MB / 0.8109 GB, free: 81.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/1.348, allocations: 31.95 kB / 0.811 GB, free: 81.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008876/1.356, allocations: 8.731 MB / 0.8195 GB, free: 72.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.356, allocations: 0 / 0.8195 GB, free: 72.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009159/1.366, allocations: 6.881 MB / 0.8262 GB, free: 65.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.367, allocations: 463.7 kB / 0.8266 GB, free: 64.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004645/1.368, allocations: 28 kB / 0.8267 GB, free: 64.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.369, allocations: 115.8 kB / 0.8268 GB, free: 64.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000338/1.369, allocations: 129 kB / 0.8269 GB, free: 64.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.369, allocations: 47.98 kB / 0.8269 GB, free: 64.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004012/1.373, allocations: 2.936 MB / 0.8298 GB, free: 61.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.373, allocations: 0 / 0.8298 GB, free: 61.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005639/1.379, allocations: 1.173 MB / 0.831 GB, free: 60.29 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.0004422/1.38, allocations: 171.4 kB / 0.8311 GB, free: 60.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008083/1.388, allocations: 5.859 MB / 0.8368 GB, free: 54.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.388, allocations: 0 / 0.8368 GB, free: 54.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/1.39, allocations: 1.973 MB / 0.8388 GB, free: 52.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.394, allocations: 0.5084 MB / 0.8393 GB, free: 51.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.413, allocations: 12.97 MB / 0.8519 GB, free: 38.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/1.416, allocations: 3.822 MB / 0.8557 GB, free: 34.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004464/1.421, allocations: 1.98 MB / 0.8576 GB, free: 32.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/1.421, allocations: 267.4 kB / 0.8579 GB, free: 32.64 MB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/1.421, allocations: 0 / 0.8579 GB, free: 32.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.07773/1.499, allocations: 41.69 MB / 0.8986 GB, free: 7.133 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches