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.001358/0.001358, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3145, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01418/0.3287, allocations: 13.42 MB / 0.5448 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.339, allocations: 4.533 MB / 0.5492 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.3421, allocations: 94.09 kB / 0.5493 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007885/0.35, allocations: 4.176 MB / 0.5534 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006132/0.3562, allocations: 2.131 MB / 0.5554 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.3587, allocations: 0.9203 MB / 0.5563 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008785/0.3675, allocations: 6.07 MB / 0.5623 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007102/0.3747, allocations: 5.174 MB / 0.5673 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/0.3788, allocations: 2.095 MB / 0.5694 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004573/0.3834, allocations: 2.808 MB / 0.5721 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.385, allocations: 472 kB / 0.5726 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.3885, allocations: 1.338 MB / 0.5739 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003376/0.3919, allocations: 2.517 MB / 0.5763 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004764/0.3967, allocations: 2.828 MB / 0.5791 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.4078, allocations: 9.002 MB / 0.5879 GB, free: 7.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4078, allocations: 0 / 0.5879 GB, free: 7.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4079, allocations: 3.938 kB / 0.5879 GB, free: 7.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003544/0.4082, allocations: 0 / 0.5879 GB, free: 7.961 MB / 446.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.01507/0.4233, allocations: 6.067 MB / 0.5938 GB, free: 1.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4234, allocations: 8.031 kB / 0.5938 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.4354, allocations: 2.564 MB / 0.5963 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008083/0.4436, allocations: 3.816 MB / 0.6 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.4438, allocations: 296.1 kB / 0.6003 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4452, allocations: 411.8 kB / 0.6007 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.4658, allocations: 11.27 MB / 0.6117 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002335/0.4661, allocations: 55.53 kB / 0.6118 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.4673, allocations: 187.8 kB / 0.612 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003462/0.4708, allocations: 2.018 MB / 0.6139 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.4885, allocations: 9.53 MB / 0.6232 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05099/0.5395, allocations: 44.92 MB / 0.6671 GB, free: 4.547 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.5497, allocations: 4.154 MB / 0.6712 GB, free: 248 kB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.5526, allocations: 2.336 MB / 0.6734 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/0.5659, allocations: 9.375 MB / 0.6826 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.566, allocations: 59.48 kB / 0.6827 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 5.049e-06/0.566, allocations: 3.938 kB / 0.6827 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.0543/0.6203, allocations: 19.31 MB / 0.7015 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6204, allocations: 201.2 kB / 0.7017 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007305/0.6278, allocations: 4.693 MB / 0.7063 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004148/0.6282, allocations: 53.7 kB / 0.7063 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002571/0.6308, allocations: 3.548 MB / 0.7098 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009819/0.6318, allocations: 0.7483 MB / 0.7105 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/0.6342, allocations: 1.317 MB / 0.7118 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.6344, allocations: 305.1 kB / 0.7121 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/0.638, allocations: 2.382 MB / 0.7144 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2536/0.8916, allocations: 6.204 MB / 0.7205 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.9019, allocations: 9.221 MB / 0.7295 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002484/0.9021, allocations: 39.39 kB / 0.7295 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0177/0.9199, allocations: 9.693 MB / 0.739 GB, free: 148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.92, allocations: 64.16 kB / 0.7391 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/0.9202, allocations: 132.8 kB / 0.7392 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/0.9242, allocations: 1.6 MB / 0.7408 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/0.9288, allocations: 1.468 MB / 0.7422 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.9392, allocations: 10.01 MB / 0.752 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004864/0.9441, allocations: 357.7 kB / 0.7523 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.9453, allocations: 388 kB / 0.7527 GB, free: 140.3 MB / 0.5606 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 (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.00366/0.9489, allocations: 2.459 MB / 0.7551 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000746/0.9497, allocations: 406.3 kB / 0.7555 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006803/0.9565, allocations: 4.168 MB / 0.7595 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.9566, allocations: 23.98 kB / 0.7596 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.9566, allocations: 8 kB / 0.7596 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.9566, allocations: 7.969 kB / 0.7596 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.9711, allocations: 9.52 MB / 0.7689 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.9711, allocations: 0 / 0.7689 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.9724, allocations: 287.6 kB / 0.7691 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/0.976, allocations: 1.354 MB / 0.7705 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/0.9762, allocations: 39.98 kB / 0.7705 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009052/0.9853, allocations: 9.372 MB / 0.7797 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/0.9854, allocations: 4 kB / 0.7797 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008904/0.9943, allocations: 6.885 MB / 0.7864 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.9953, allocations: 455.7 kB / 0.7868 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005941/0.996, allocations: 35.52 kB / 0.7869 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.9975, allocations: 111.8 kB / 0.787 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.9979, allocations: 113.1 kB / 0.7871 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.998, allocations: 48 kB / 0.7871 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004078/1.002, allocations: 2.96 MB / 0.79 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/1.002, allocations: 4 kB / 0.79 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005603/1.008, allocations: 1.171 MB / 0.7912 GB, free: 101.1 MB / 0.5606 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.0004585/1.008, allocations: 165.3 kB / 0.7913 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008228/1.016, allocations: 5.893 MB / 0.7971 GB, free: 95.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.017, allocations: 5.812 kB / 0.7971 GB, free: 95.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002655/1.019, allocations: 1.972 MB / 0.799 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.022, allocations: 0.5339 MB / 0.7995 GB, free: 92.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.04, allocations: 11.46 MB / 0.8107 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/1.044, allocations: 3.791 MB / 0.8144 GB, free: 77.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.045, allocations: 315.4 kB / 0.8147 GB, free: 76.89 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/1.045, allocations: 1.969 kB / 0.8147 GB, free: 76.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.12/1.165, allocations: 112.1 MB / 0.9242 GB, free: 12.86 MB / 0.6075 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/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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches