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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 89.84 kB / 291.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3367/0.3367, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 51.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.362, allocations: 60.8 MB / 0.5064 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02108/0.3831, allocations: 28.85 MB / 0.5346 GB, free: 17.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3952, allocations: 5.635 MB / 0.5401 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006441/0.4016, allocations: 115.1 kB / 0.5402 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002848/0.4045, allocations: 1.278 MB / 0.5414 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.4077, allocations: 1.174 MB / 0.5426 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.4081, allocations: 71 kB / 0.5426 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004267/0.4124, allocations: 4.158 MB / 0.5467 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.4158, allocations: 1.746 MB / 0.5484 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.419, allocations: 0.9341 MB / 0.5493 GB, free: 10.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.4218, allocations: 1.572 MB / 0.5508 GB, free: 10 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000602/0.4225, allocations: 148 kB / 0.551 GB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.4237, allocations: 461.7 kB / 0.5514 GB, free: 9.898 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.425, allocations: 1.408 MB / 0.5528 GB, free: 9.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.4266, allocations: 1.697 MB / 0.5545 GB, free: 8.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.4334, allocations: 5.212 MB / 0.5595 GB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4335, allocations: 0 / 0.5595 GB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4335, allocations: 3.938 kB / 0.5595 GB, free: 6.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.4337, allocations: 0 / 0.5595 GB, free: 6.305 MB / 378.7 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.008955/0.4427, allocations: 3.67 MB / 0.5631 GB, free: 4.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4427, allocations: 13.06 kB / 0.5631 GB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4529, allocations: 2.974 MB / 0.5661 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.4573, allocations: 1.552 MB / 0.5676 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.4575, allocations: 180.7 kB / 0.5677 GB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.458, allocations: 224 kB / 0.568 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/0.4758, allocations: 9.702 MB / 0.5774 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.4759, allocations: 19.81 kB / 0.5774 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.4762, allocations: 111.8 kB / 0.5776 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.48, allocations: 2.436 MB / 0.5799 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.4966, allocations: 8.812 MB / 0.5885 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04974/0.5464, allocations: 30.67 MB / 0.6185 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005981/0.5524, allocations: 3.277 MB / 0.6217 GB, free: 8.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.5539, allocations: 0.9272 MB / 0.6226 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.554, allocations: 12.98 kB / 0.6226 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5541, allocations: 44.22 kB / 0.6226 GB, free: 7.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 6.092e-06/0.5541, allocations: 0 / 0.6226 GB, free: 7.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.007733/0.5618, allocations: 3.377 MB / 0.6259 GB, free: 3.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5619, allocations: 72.33 kB / 0.626 GB, free: 3.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006588/0.5685, allocations: 3.115 MB / 0.6291 GB, free: 0.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.5687, allocations: 41.7 kB / 0.6291 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.571, allocations: 2.677 MB / 0.6317 GB, free: 13.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/0.5719, allocations: 0.567 MB / 0.6323 GB, free: 13.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/0.5741, allocations: 0.968 MB / 0.6332 GB, free: 12.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.5742, allocations: 305.1 kB / 0.6335 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/0.5767, allocations: 1.528 MB / 0.635 GB, free: 10.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004652/0.5814, allocations: 4.455 MB / 0.6393 GB, free: 4.633 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008132/0.5896, allocations: 6.528 MB / 0.6457 GB, free: 12.66 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.5897, allocations: 32 kB / 0.6458 GB, free: 12.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01164/0.6014, allocations: 5.828 MB / 0.6514 GB, free: 6.789 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.6015, allocations: 49.25 kB / 0.6515 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001862/0.6017, allocations: 104 kB / 0.6516 GB, free: 6.641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.6019, allocations: 136 kB / 0.6517 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/0.6054, allocations: 1.061 MB / 0.6528 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001843/0.6056, allocations: 203.2 kB / 0.6529 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/0.6095, allocations: 0.6839 MB / 0.6536 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007609/0.6102, allocations: 292 kB / 0.6539 GB, free: 4.27 MB / 474.7 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.003963/0.6142, allocations: 1.954 MB / 0.6558 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/0.6148, allocations: 252.7 kB / 0.656 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009412/0.6158, allocations: 339.8 kB / 0.6564 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.6158, allocations: 16 kB / 0.6564 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.6158, allocations: 3.938 kB / 0.6564 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.6158, allocations: 7.984 kB / 0.6564 GB, free: 1.684 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.6306, allocations: 6.888 MB / 0.6631 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.6307, allocations: 8.156 kB / 0.6631 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.6315, allocations: 175.8 kB / 0.6633 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-05/0.6316, allocations: 15.94 kB / 0.6633 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6317, allocations: 31.94 kB / 0.6633 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/0.6317, allocations: 15.98 kB / 0.6634 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.6317, allocations: 7.938 kB / 0.6634 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005363/0.6371, allocations: 4.314 MB / 0.6676 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.6384, allocations: 353.2 kB / 0.6679 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000828/0.6392, allocations: 35.97 kB / 0.6679 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.6406, allocations: 39.97 kB / 0.668 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.6408, allocations: 84.38 kB / 0.6681 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.6409, allocations: 51.94 kB / 0.6681 GB, free: 5.352 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004494/0.6454, allocations: 1.987 MB / 0.6701 GB, free: 3.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6454, allocations: 0 / 0.6701 GB, free: 3.363 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005448/0.6509, allocations: 1.008 MB / 0.671 GB, free: 2.352 MB / 490.7 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.0005449/0.6514, allocations: 163.4 kB / 0.6712 GB, free: 2.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006373/0.6578, allocations: 3.543 MB / 0.6747 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.6579, allocations: 0 / 0.6747 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.6591, allocations: 0.9214 MB / 0.6756 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.6615, allocations: 318.7 kB / 0.6759 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.6795, allocations: 10.48 MB / 0.6861 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2762/0.9557, allocations: 3.055 MB / 0.6891 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005603/0.9614, allocations: 1.716 MB / 0.6908 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.962, allocations: 190.4 kB / 0.6909 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.183e-06/0.962, allocations: 0 / 0.6909 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.05255/1.015, allocations: 22.87 MB / 0.7133 GB, free: 142.7 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches