Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 107.4 kB / 17.09 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 198.2 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2009/0.2009, allocations: 43.54 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 76.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01613/0.1209, allocations: 17.05 MB / 0.5052 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008059/0.129, allocations: 3.883 MB / 0.509 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.1313, allocations: 103.8 kB / 0.5091 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.1354, allocations: 2.175 MB / 0.5112 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.1408, allocations: 2.506 MB / 0.5137 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.1416, allocations: 295.5 kB / 0.514 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007376/0.149, allocations: 6.376 MB / 0.5202 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.1536, allocations: 3.315 MB / 0.5234 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.1572, allocations: 2.129 MB / 0.5255 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004358/0.1616, allocations: 2.791 MB / 0.5282 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.1629, allocations: 395.9 kB / 0.5286 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.1649, allocations: 0.7959 MB / 0.5294 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2664/0.4314, allocations: 2.788 MB / 0.5321 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003387/0.4348, allocations: 3.352 MB / 0.5354 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.4463, allocations: 10.7 MB / 0.5458 GB, free: 7.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4464, allocations: 0 / 0.5458 GB, free: 7.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4464, allocations: 0 / 0.5458 GB, free: 7.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004107/0.4468, allocations: 1.469 kB / 0.5458 GB, free: 7.715 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0215/0.4683, allocations: 7.05 MB / 0.5527 GB, free: 4.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4684, allocations: 16.02 kB / 0.5527 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.4874, allocations: 5.857 MB / 0.5585 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007479/0.4949, allocations: 3.296 MB / 0.5617 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.4952, allocations: 323.8 kB / 0.562 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.4972, allocations: 415.4 kB / 0.5624 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03348/0.5307, allocations: 18.9 MB / 0.5808 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/0.5309, allocations: 36.72 kB / 0.5809 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002084/0.533, allocations: 197.7 kB / 0.5811 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007694/0.5407, allocations: 4.75 MB / 0.5857 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03407/0.5748, allocations: 17.52 MB / 0.6028 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/0.6756, allocations: 60.85 MB / 0.6622 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/0.6916, allocations: 8.421 MB / 0.6705 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004046/0.6957, allocations: 2.586 MB / 0.673 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02259/0.7183, allocations: 11.87 MB / 0.6846 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.7184, allocations: 57.38 kB / 0.6846 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 8.135e-06/0.7184, allocations: 4 kB / 0.6846 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.0184/0.7368, allocations: 7.508 MB / 0.692 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.7369, allocations: 103.1 kB / 0.6921 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/0.7484, allocations: 5.672 MB / 0.6976 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/0.7489, allocations: 65.14 kB / 0.6977 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004206/0.7532, allocations: 5.074 MB / 0.7026 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/0.755, allocations: 1.206 MB / 0.7038 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004714/0.7597, allocations: 1.903 MB / 0.7057 GB, free: 7.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.7599, allocations: 305.1 kB / 0.706 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005622/0.7655, allocations: 3.212 MB / 0.7091 GB, free: 3.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/0.7756, allocations: 8.65 MB / 0.7175 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/0.7914, allocations: 12.91 MB / 0.7301 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002095/0.7916, allocations: 56 kB / 0.7302 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02126/0.8129, allocations: 11.64 MB / 0.7416 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.8131, allocations: 86.66 kB / 0.7416 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002712/0.8134, allocations: 192 kB / 0.7418 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.8137, allocations: 252 kB / 0.7421 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006972/0.8207, allocations: 2.074 MB / 0.7441 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003412/0.821, allocations: 374.5 kB / 0.7445 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007341/0.8284, allocations: 1.325 MB / 0.7457 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/0.8303, allocations: 0.5537 MB / 0.7463 GB, free: 8.922 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008458/0.8388, allocations: 3.712 MB / 0.7499 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/0.84, allocations: 481.5 kB / 0.7504 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.8422, allocations: 0.6489 MB / 0.751 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.8423, allocations: 15.61 kB / 0.751 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.8423, allocations: 4 kB / 0.751 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.8436, allocations: 0.5409 MB / 0.7516 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/0.8448, allocations: 39.94 kB / 0.7516 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/0.8468, allocations: 118.6 kB / 0.7517 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/0.8473, allocations: 129.7 kB / 0.7518 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2342/1.082, allocations: 4.069 MB / 0.7558 GB, free: 203.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006016/1.088, allocations: 4.338 MB / 0.76 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002135/1.09, allocations: 1.805 MB / 0.7618 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005787/1.096, allocations: 3.496 MB / 0.7652 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of Backend: time 5.51e-07/1.096, allocations: 0 / 0.7652 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.107, allocations: 5.823 MB / 0.7709 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02686/1.134, allocations: 14.78 MB / 0.7853 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.0992/1.233, allocations: 58.91 MB / 0.8429 GB, free: 142.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches