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.00127/0.00127, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 72.86 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1126, allocations: 62.44 MB / 480.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.015/0.1277, allocations: 13.41 MB / 494.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009328/0.1371, allocations: 4.538 MB / 498.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.1393, allocations: 91.75 kB / 498.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007671/0.147, allocations: 4.17 MB / 0.4911 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.1528, allocations: 2.124 MB / 0.4932 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1551, allocations: 0.9359 MB / 0.4941 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008154/0.1633, allocations: 6.058 MB / 0.5 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006258/0.1696, allocations: 5.176 MB / 0.5051 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2038/0.3734, allocations: 2.098 MB / 0.5071 GB, free: 16.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005154/0.3786, allocations: 2.801 MB / 0.5099 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002257/0.3809, allocations: 467.6 kB / 0.5103 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.3854, allocations: 1.337 MB / 0.5116 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004548/0.39, allocations: 2.487 MB / 0.514 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006654/0.3967, allocations: 2.829 MB / 0.5168 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4097, allocations: 8.774 MB / 0.5254 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4098, allocations: 0.625 kB / 0.5254 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4098, allocations: 1.094 kB / 0.5254 GB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003718/0.4102, allocations: 0.9062 kB / 0.5254 GB, free: 13.32 MB / 382.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.01918/0.4294, allocations: 6.065 MB / 0.5313 GB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4294, allocations: 9.312 kB / 0.5313 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.4422, allocations: 2.568 MB / 0.5338 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009126/0.4514, allocations: 3.743 MB / 0.5375 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.4517, allocations: 298.2 kB / 0.5378 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/0.4538, allocations: 397.6 kB / 0.5381 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/0.4773, allocations: 11.29 MB / 0.5492 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003189/0.4776, allocations: 51.41 kB / 0.5492 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001642/0.4793, allocations: 182.4 kB / 0.5494 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003719/0.483, allocations: 2.03 MB / 0.5514 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.5042, allocations: 9.526 MB / 0.5607 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06444/0.5687, allocations: 45.13 MB / 0.6047 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.5797, allocations: 4.145 MB / 0.6088 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003555/0.5833, allocations: 2.34 MB / 0.6111 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/0.6006, allocations: 9.38 MB / 0.6202 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.6007, allocations: 55.5 kB / 0.6203 GB, free: 4.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=169): time 5.23e-06/0.6007, allocations: 4 kB / 0.6203 GB, free: 4.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.05868/0.6594, allocations: 19.3 MB / 0.6391 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6596, allocations: 211.8 kB / 0.6393 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0095/0.6691, allocations: 4.693 MB / 0.6439 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005336/0.6697, allocations: 53.7 kB / 0.644 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003136/0.6728, allocations: 3.549 MB / 0.6474 GB, free: 8.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.6739, allocations: 0.7395 MB / 0.6482 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00342/0.6774, allocations: 1.321 MB / 0.6495 GB, free: 6.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.6775, allocations: 305.1 kB / 0.6497 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/0.6817, allocations: 2.375 MB / 0.6521 GB, free: 3.516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/0.6888, allocations: 6.211 MB / 0.6581 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.7002, allocations: 9.231 MB / 0.6671 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/0.7004, allocations: 43.09 kB / 0.6672 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02064/0.7211, allocations: 9.681 MB / 0.6766 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.7213, allocations: 70.53 kB / 0.6767 GB, free: 7.281 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002192/0.7215, allocations: 135.9 kB / 0.6768 GB, free: 7.148 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0049/0.7264, allocations: 1.603 MB / 0.6784 GB, free: 5.539 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/0.7315, allocations: 1.474 MB / 0.6798 GB, free: 4.062 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.745, allocations: 10 MB / 0.6896 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005191/0.7502, allocations: 355.4 kB / 0.69 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/0.7516, allocations: 392 kB / 0.6903 GB, free: 9.047 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 (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.00579/0.7574, allocations: 2.454 MB / 0.6927 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/0.7586, allocations: 406.7 kB / 0.6931 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009381/0.768, allocations: 4.165 MB / 0.6972 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-05/0.7681, allocations: 24 kB / 0.6972 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.7681, allocations: 11.94 kB / 0.6972 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/0.7682, allocations: 7.969 kB / 0.6972 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/0.7914, allocations: 9.555 MB / 0.7066 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.7915, allocations: 0 / 0.7066 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.7931, allocations: 287.5 kB / 0.7068 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004276/0.7974, allocations: 1.372 MB / 0.7082 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/0.7978, allocations: 35.98 kB / 0.7082 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2402/1.038, allocations: 9.372 MB / 0.7174 GB, free: 189.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.038, allocations: 8.531 kB / 0.7174 GB, free: 189.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.05, allocations: 6.876 MB / 0.7241 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.052, allocations: 455.9 kB / 0.7245 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009693/1.053, allocations: 29.38 kB / 0.7245 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.055, allocations: 118.4 kB / 0.7246 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004724/1.056, allocations: 109.8 kB / 0.7248 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.056, allocations: 54.91 kB / 0.7248 GB, free: 187.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006984/1.063, allocations: 2.961 MB / 0.7277 GB, free: 186.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/1.063, allocations: 0 / 0.7277 GB, free: 186.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007467/1.07, allocations: 1.173 MB / 0.7288 GB, free: 186.8 MB / 0.545 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.0006327/1.071, allocations: 160.2 kB / 0.729 GB, free: 186.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.082, allocations: 6.908 MB / 0.7357 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/1.082, allocations: 0 / 0.7357 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/1.085, allocations: 1.98 MB / 0.7377 GB, free: 183.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004005/1.089, allocations: 0.5486 MB / 0.7382 GB, free: 183.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.109, allocations: 11.59 MB / 0.7495 GB, free: 177.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/1.113, allocations: 3.799 MB / 0.7532 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.115, allocations: 314.6 kB / 0.7535 GB, free: 174 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/1.115, allocations: 4 kB / 0.7535 GB, free: 174 MB / 0.545 GB Notification: Performance of Templates: time 0.1267/1.241, allocations: 111.3 MB / 0.8623 GB, free: 64.98 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/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