Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.00108/0.00108, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3081, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01127/0.3194, allocations: 11.43 MB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.3261, allocations: 2.806 MB / 0.5335 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.329, allocations: 58.25 kB / 0.5335 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.3323, allocations: 1.321 MB / 0.5348 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.3365, allocations: 1.247 MB / 0.536 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.3371, allocations: 77.56 kB / 0.5361 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.3413, allocations: 2.795 MB / 0.5388 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/0.3444, allocations: 1.777 MB / 0.5406 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.347, allocations: 1.066 MB / 0.5416 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.3497, allocations: 1.485 MB / 0.543 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007923/0.3506, allocations: 206.2 kB / 0.5432 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.3522, allocations: 499.1 kB / 0.5437 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001599/0.3538, allocations: 1.455 MB / 0.5451 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.3557, allocations: 1.746 MB / 0.5468 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.3611, allocations: 5.535 MB / 0.5523 GB, free: 10.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3611, allocations: 3.984 kB / 0.5523 GB, free: 10.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3611, allocations: 0 / 0.5523 GB, free: 10.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001194/0.3612, allocations: 4 kB / 0.5523 GB, free: 10.48 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.005424/0.3667, allocations: 3.66 MB / 0.5558 GB, free: 6.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3667, allocations: 19.97 kB / 0.5559 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009259/0.376, allocations: 2.975 MB / 0.5588 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.3797, allocations: 1.557 MB / 0.5603 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3799, allocations: 176.7 kB / 0.5604 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007069/0.3806, allocations: 231.9 kB / 0.5607 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.3943, allocations: 9.69 MB / 0.5701 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/0.3944, allocations: 19.81 kB / 0.5701 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/0.3948, allocations: 115.8 kB / 0.5703 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.3984, allocations: 2.436 MB / 0.5726 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.414, allocations: 8.812 MB / 0.5812 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04175/0.4558, allocations: 30.52 MB / 0.6111 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005099/0.4609, allocations: 3.282 MB / 0.6143 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.4622, allocations: 0.9142 MB / 0.6152 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.4623, allocations: 24.92 kB / 0.6152 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4623, allocations: 39.56 kB / 0.6152 GB, free: 8.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 3.487e-06/0.4623, allocations: 0 / 0.6152 GB, free: 8.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.00721/0.4695, allocations: 3.37 MB / 0.6185 GB, free: 4.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4696, allocations: 72.34 kB / 0.6186 GB, free: 4.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/0.4745, allocations: 3.119 MB / 0.6216 GB, free: 1.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.4746, allocations: 41.7 kB / 0.6217 GB, free: 1.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.4766, allocations: 2.685 MB / 0.6243 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006456/0.4772, allocations: 0.5592 MB / 0.6248 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.4786, allocations: 0.9797 MB / 0.6258 GB, free: 13.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4787, allocations: 301.1 kB / 0.6261 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.4809, allocations: 1.524 MB / 0.6276 GB, free: 11.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004259/0.4852, allocations: 4.455 MB / 0.6319 GB, free: 5.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/0.4923, allocations: 6.535 MB / 0.6383 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.723e-05/0.4924, allocations: 28 kB / 0.6383 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009207/0.5016, allocations: 5.836 MB / 0.644 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.5017, allocations: 48 kB / 0.6441 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/0.5019, allocations: 104 kB / 0.6442 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.5021, allocations: 136 kB / 0.6443 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.5051, allocations: 1.057 MB / 0.6453 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001911/0.5053, allocations: 207.1 kB / 0.6455 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.5085, allocations: 0.6839 MB / 0.6462 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/0.509, allocations: 296.2 kB / 0.6465 GB, free: 5.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.002808/0.5118, allocations: 1.938 MB / 0.6484 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.5122, allocations: 260.6 kB / 0.6486 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006543/0.5129, allocations: 331.8 kB / 0.6489 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.5129, allocations: 19.98 kB / 0.6489 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.513, allocations: 3.938 kB / 0.649 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.513, allocations: 7.969 kB / 0.649 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5241, allocations: 6.866 MB / 0.6557 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.5242, allocations: 8 kB / 0.6557 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.5249, allocations: 175.7 kB / 0.6558 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.5249, allocations: 16.8 kB / 0.6559 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/0.525, allocations: 31.94 kB / 0.6559 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.525, allocations: 15.94 kB / 0.6559 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.525, allocations: 8 kB / 0.6559 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.5277, allocations: 2.26 MB / 0.6581 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.5284, allocations: 349.3 kB / 0.6584 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/0.5288, allocations: 31.92 kB / 0.6585 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.5297, allocations: 47.95 kB / 0.6585 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.5298, allocations: 84.45 kB / 0.6586 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.87e-05/0.5299, allocations: 55.92 kB / 0.6587 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003042/0.533, allocations: 1.983 MB / 0.6606 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.533, allocations: 0 / 0.6606 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003644/0.5366, allocations: 1.015 MB / 0.6616 GB, free: 5.527 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0003641/0.537, allocations: 162.9 kB / 0.6617 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005022/0.5421, allocations: 3.573 MB / 0.6652 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5421, allocations: 3.938 kB / 0.6652 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.5432, allocations: 0.9161 MB / 0.6661 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.545, allocations: 339.9 kB / 0.6665 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.5583, allocations: 8.041 MB / 0.6743 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003809/0.5621, allocations: 3.02 MB / 0.6773 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/0.5629, allocations: 231.4 kB / 0.6775 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.5629, allocations: 0 / 0.6775 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of Templates: time 0.06355/0.6265, allocations: 46.69 MB / 0.7231 GB, free: 6.535 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches