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.001463/0.001463, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001514/0.001515, allocations: 194 kB / 18.77 MB, free: 4.742 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.39/1.39, allocations: 222.9 MB / 242.5 MB, free: 15.47 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.2092/0.2092, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 65 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1918, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.04559/0.2375, allocations: 28.83 MB / 498 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.2597, allocations: 5.636 MB / 0.4918 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009087/0.2689, allocations: 115.8 kB / 0.492 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004698/0.2736, allocations: 1.281 MB / 0.4932 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.2794, allocations: 1.183 MB / 0.4944 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.2803, allocations: 71.91 kB / 0.4944 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008133/0.2884, allocations: 4.125 MB / 0.4985 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.293, allocations: 1.745 MB / 0.5002 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.2963, allocations: 0.9453 MB / 0.5011 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.3003, allocations: 1.561 MB / 0.5026 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009533/0.3013, allocations: 148 kB / 0.5028 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.3032, allocations: 459.2 kB / 0.5032 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.5584/0.8616, allocations: 1.404 MB / 0.5046 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006015/0.8677, allocations: 1.695 MB / 0.5062 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.8811, allocations: 4.305 MB / 0.5104 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.8812, allocations: 0 / 0.5104 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.18e-06/0.8812, allocations: 5.594 kB / 0.5104 GB, free: 12.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004571/0.8817, allocations: 0 / 0.5104 GB, free: 12.96 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.02394/0.9056, allocations: 3.666 MB / 0.514 GB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001252/0.9058, allocations: 9.031 kB / 0.514 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/0.9258, allocations: 2.982 MB / 0.5169 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007991/0.9339, allocations: 1.545 MB / 0.5184 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005834/0.9345, allocations: 175.4 kB / 0.5186 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002435/0.937, allocations: 221.3 kB / 0.5188 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0361/0.9731, allocations: 9.71 MB / 0.5283 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.9733, allocations: 23.47 kB / 0.5283 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009808/0.9743, allocations: 112.5 kB / 0.5284 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007275/0.9816, allocations: 2.438 MB / 0.5308 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02896/1.011, allocations: 8.812 MB / 0.5394 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08612/1.097, allocations: 30.68 MB / 0.5694 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009478/1.106, allocations: 3.268 MB / 0.5726 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/1.109, allocations: 0.9219 MB / 0.5735 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/1.109, allocations: 18.16 kB / 0.5735 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.599e-05/1.109, allocations: 47.61 kB / 0.5735 GB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 6.342e-06/1.109, allocations: 2.812 kB / 0.5735 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.01372/1.123, allocations: 3.37 MB / 0.5768 GB, free: 12.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.123, allocations: 64.41 kB / 0.5769 GB, free: 12.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009051/1.132, allocations: 3.127 MB / 0.5799 GB, free: 9.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.132, allocations: 40.2 kB / 0.58 GB, free: 9.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004227/1.137, allocations: 2.679 MB / 0.5826 GB, free: 6.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002094/1.139, allocations: 0.5603 MB / 0.5831 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002765/1.142, allocations: 0.9781 MB / 0.5841 GB, free: 5.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000277/1.142, allocations: 304.1 kB / 0.5844 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004681/1.147, allocations: 1.528 MB / 0.5859 GB, free: 3.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00961/1.156, allocations: 4.451 MB / 0.5902 GB, free: 13.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/1.175, allocations: 6.535 MB / 0.5966 GB, free: 5.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003238/1.175, allocations: 28 kB / 0.5966 GB, free: 5.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02593/1.201, allocations: 5.83 MB / 0.6023 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/1.201, allocations: 52 kB / 0.6024 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002599/1.202, allocations: 104 kB / 0.6025 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/1.202, allocations: 140.5 kB / 0.6026 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007395/1.209, allocations: 1.055 MB / 0.6036 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005906/1.21, allocations: 209.2 kB / 0.6038 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009507/1.22, allocations: 0.6762 MB / 0.6045 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/1.222, allocations: 300.5 kB / 0.6048 GB, free: 14.24 MB / 462.1 MB 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.01087/1.233, allocations: 1.939 MB / 0.6067 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.234, allocations: 260.5 kB / 0.6069 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.237, allocations: 335.8 kB / 0.6072 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/1.237, allocations: 19.12 kB / 0.6073 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-05/1.237, allocations: 0 / 0.6073 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.75e-05/1.237, allocations: 11.91 kB / 0.6073 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02557/1.263, allocations: 6.886 MB / 0.614 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/1.263, allocations: 8 kB / 0.614 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.264, allocations: 172.9 kB / 0.6142 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.062e-05/1.264, allocations: 12 kB / 0.6142 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.264, allocations: 27.98 kB / 0.6142 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-05/1.264, allocations: 18.94 kB / 0.6142 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.264, allocations: 8.5 kB / 0.6142 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/1.269, allocations: 2.251 MB / 0.6164 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.271, allocations: 349.4 kB / 0.6168 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005859/1.272, allocations: 27.69 kB / 0.6168 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.273, allocations: 47.89 kB / 0.6168 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.273, allocations: 81.66 kB / 0.6169 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.274, allocations: 50.97 kB / 0.617 GB, free: 1.668 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005924/1.279, allocations: 1.983 MB / 0.6189 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.71e-07/1.28, allocations: 0 / 0.6189 GB, free: 15.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01038/1.29, allocations: 1.015 MB / 0.6199 GB, free: 14.66 MB / 478.1 MB 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.00103/1.291, allocations: 153.7 kB / 0.62 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/1.302, allocations: 3.554 MB / 0.6235 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.809e-05/1.302, allocations: 4 kB / 0.6235 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/1.304, allocations: 0.9149 MB / 0.6244 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.308, allocations: 318.9 kB / 0.6247 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/1.338, allocations: 9.986 MB / 0.6345 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006445/1.345, allocations: 3.018 MB / 0.6374 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.346, allocations: 231.4 kB / 0.6376 GB, free: 12.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.954e-06/1.346, allocations: 0 / 0.6376 GB, free: 12.42 MB / 494.1 MB Notification: Performance of Templates: time 0.1392/1.485, allocations: 46.15 MB / 0.6827 GB, free: 14.41 MB / 0.5294 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