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.0009982/0.0009983, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 201.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 247.5 MB, free: 11.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.18 MB / 345.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 8 kB / 420.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.105, allocations: 63.55 MB / 483.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2754/0.3805, allocations: 63.85 MB / 0.5347 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0295/0.4101, allocations: 13.07 MB / 0.5475 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01438/0.4245, allocations: 285.5 kB / 0.5478 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.4265, allocations: 0.4907 MB / 0.5483 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.4325, allocations: 2.025 MB / 0.5502 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.4347, allocations: 0.8515 MB / 0.5511 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01/0.4447, allocations: 8.75 MB / 0.5596 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.4551, allocations: 7.308 MB / 0.5668 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.4582, allocations: 1.502 MB / 0.5682 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/0.4623, allocations: 2.542 MB / 0.5707 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.4634, allocations: 176 kB / 0.5709 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.4662, allocations: 1.104 MB / 0.5719 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002815/0.469, allocations: 2.181 MB / 0.5741 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003883/0.4729, allocations: 2.455 MB / 0.5765 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.4807, allocations: 6.991 MB / 0.5833 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4807, allocations: 0 / 0.5833 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4807, allocations: 0 / 0.5833 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003314/0.4811, allocations: 0 / 0.5833 GB, free: 0.6836 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.01135/0.4924, allocations: 4.976 MB / 0.5882 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4925, allocations: 8.875 kB / 0.5882 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.5045, allocations: 2.638 MB / 0.5907 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008229/0.5128, allocations: 3.738 MB / 0.5944 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.5131, allocations: 300.1 kB / 0.5947 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.5145, allocations: 404 kB / 0.5951 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/0.5354, allocations: 11.3 MB / 0.6061 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/0.5357, allocations: 63.42 kB / 0.6062 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009769/0.5367, allocations: 187.8 kB / 0.6063 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003405/0.5401, allocations: 2.03 MB / 0.6083 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.5582, allocations: 9.566 MB / 0.6177 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05345/0.6117, allocations: 45.13 MB / 0.6617 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6218, allocations: 4.167 MB / 0.6658 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/0.6249, allocations: 2.347 MB / 0.6681 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01393/0.6389, allocations: 9.383 MB / 0.6773 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.6389, allocations: 51.56 kB / 0.6773 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 4.118e-06/0.6389, allocations: 0 / 0.6773 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.05013/0.6891, allocations: 19.34 MB / 0.6962 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.6892, allocations: 209.2 kB / 0.6964 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/0.696, allocations: 4.689 MB / 0.701 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.6963, allocations: 53.7 kB / 0.701 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/0.6987, allocations: 3.544 MB / 0.7045 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007976/0.6995, allocations: 0.7444 MB / 0.7052 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007476/0.7002, allocations: 0.5629 MB / 0.7058 GB, free: 424 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.7003, allocations: 301.1 kB / 0.7061 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2163/0.9166, allocations: 2.382 MB / 0.7084 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006192/0.9228, allocations: 6.21 MB / 0.7144 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.9339, allocations: 9.246 MB / 0.7235 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003471/0.9343, allocations: 39.2 kB / 0.7235 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02151/0.9558, allocations: 9.706 MB / 0.733 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.9561, allocations: 66.31 kB / 0.7331 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002685/0.9564, allocations: 133.5 kB / 0.7332 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/0.9607, allocations: 1.594 MB / 0.7347 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/0.9653, allocations: 1.474 MB / 0.7362 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.9758, allocations: 9.366 MB / 0.7453 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.9804, allocations: 364.9 kB / 0.7457 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008655/0.9813, allocations: 387.5 kB / 0.746 GB, free: 159.1 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.003644/0.9849, allocations: 2.461 MB / 0.7484 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007205/0.9857, allocations: 402.4 kB / 0.7488 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007041/0.9927, allocations: 4.182 MB / 0.7529 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.9928, allocations: 20.98 kB / 0.7529 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.9928, allocations: 8 kB / 0.7529 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.9928, allocations: 11.69 kB / 0.7529 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.008, allocations: 9.571 MB / 0.7623 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/1.008, allocations: 0 / 0.7623 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.009, allocations: 291.5 kB / 0.7626 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/1.013, allocations: 1.357 MB / 0.7639 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/1.013, allocations: 41.33 kB / 0.7639 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009086/1.022, allocations: 8.73 MB / 0.7725 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.022, allocations: 6.062 kB / 0.7725 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009181/1.031, allocations: 6.896 MB / 0.7792 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/1.032, allocations: 463.7 kB / 0.7796 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000759/1.033, allocations: 28 kB / 0.7797 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/1.035, allocations: 115.8 kB / 0.7798 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.035, allocations: 125.1 kB / 0.7799 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.035, allocations: 48.84 kB / 0.7799 GB, free: 126 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003734/1.039, allocations: 2.96 MB / 0.7828 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/1.039, allocations: 0 / 0.7828 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006137/1.045, allocations: 1.172 MB / 0.784 GB, free: 121.9 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.0004449/1.046, allocations: 167.4 kB / 0.7841 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008174/1.054, allocations: 5.885 MB / 0.7899 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.054, allocations: 0.5625 kB / 0.7899 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002545/1.057, allocations: 1.982 MB / 0.7918 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.06, allocations: 0.5016 MB / 0.7923 GB, free: 113.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.078, allocations: 14.02 MB / 0.806 GB, free: 99.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/1.082, allocations: 3.795 MB / 0.8097 GB, free: 95.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.083, allocations: 307.4 kB / 0.81 GB, free: 95.18 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.083, allocations: 0 / 0.81 GB, free: 95.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.3281/1.411, allocations: 110.3 MB / 0.9177 GB, free: 179.7 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