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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9508/0.9508, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.264/0.264, allocations: 32.8 MB / 294.6 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.[0-9,]+.|fixedTranslation.frame_b.f.[0-9,]+.|fixedTranslation.frame_b.t.[0-9,]+.|fixed1.frame_b.r_0.[0-9,]+.|fixed1.frame_b.f.[0-9,]+.|fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.24e-05, allocations: 6.25 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.007889/0.007911, allocations: 10.93 MB / 386.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.01242, allocations: 2.788 MB / 389.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009223/0.01334, allocations: 67.81 kB / 389.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.01511, allocations: 1.401 MB / 391.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.01723, allocations: 1.318 MB / 392.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.01749, allocations: 83.81 kB / 392.6 MB, free: 4.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.01981, allocations: 2.833 MB / 395.4 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.02133, allocations: 1.674 MB / 397.1 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.02296, allocations: 1.574 MB / 398.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.02461, allocations: 1.539 MB / 400.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.02486, allocations: 211.9 kB / 400.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.02545, allocations: 475.4 kB / 400.9 MB, free: 12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008786/0.02633, allocations: 1.515 MB / 402.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006364/0.02696, allocations: 0.8715 MB / 403.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.0296, allocations: 3.388 MB / 406.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.02961, allocations: 3.984 kB / 406.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.02961, allocations: 0 / 406.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.237e-05/0.02967, allocations: 0 / 406.6 MB, free: 6.195 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.003653/0.03333, allocations: 4.053 MB / 410.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.03336, allocations: 8.031 kB / 410.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005948/0.03931, allocations: 3.489 MB / 414.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.04115, allocations: 1.416 MB / 415.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.04126, allocations: 176.7 kB / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.04156, allocations: 220.2 kB / 416 MB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005343/0.0469, allocations: 4.897 MB / 420.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.04695, allocations: 27.75 kB / 420.9 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.04717, allocations: 115.8 kB / 421 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002148/0.04932, allocations: 2.431 MB / 423.5 MB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.05416, allocations: 2.833 MB / 426.3 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2066/0.2607, allocations: 31.21 MB / 457.5 MB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.2631, allocations: 1.118 MB / 458.6 MB, free: 60.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.2635, allocations: 262.5 kB / 458.9 MB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.2635, allocations: 27.34 kB / 458.9 MB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2636, allocations: 44.45 kB / 458.9 MB, free: 60.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.747e-06/0.2636, allocations: 0.5625 kB / 458.9 MB, free: 60.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.003868/0.2674, allocations: 1.769 MB / 460.7 MB, free: 59.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2675, allocations: 66.31 kB / 460.8 MB, free: 59.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.27, allocations: 2.547 MB / 463.3 MB, free: 59.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.2701, allocations: 46.33 kB / 463.4 MB, free: 59.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.2712, allocations: 2.945 MB / 466.3 MB, free: 57.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.2717, allocations: 0.6091 MB / 466.9 MB, free: 57.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008558/0.2725, allocations: 1.064 MB / 468 MB, free: 57.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.2726, allocations: 0.52 MB / 468.5 MB, free: 57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007838/0.2734, allocations: 486.6 kB / 469 MB, free: 56.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.2753, allocations: 4.816 MB / 473.8 MB, free: 51.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.2788, allocations: 5.858 MB / 479.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-05/0.2789, allocations: 29.34 kB / 479.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.00476/0.2837, allocations: 3.986 MB / 483.7 MB, free: 44.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.2837, allocations: 48.75 kB / 483.7 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/0.2838, allocations: 102.2 kB / 483.8 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-05/0.2839, allocations: 136.6 kB / 483.9 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.2856, allocations: 1.059 MB / 485 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001/0.2857, allocations: 206.3 kB / 485.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.2875, allocations: 0.6393 MB / 485.8 MB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.2878, allocations: 298.6 kB / 486.1 MB, free: 44.35 MB / 410.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.00107/0.2889, allocations: 0.5393 MB / 486.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.2891, allocations: 263.7 kB / 486.9 MB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.2893, allocations: 253.6 kB / 487.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.2894, allocations: 18 kB / 487.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.2894, allocations: 0 / 487.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2894, allocations: 3.281 kB / 487.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/0.295, allocations: 4.343 MB / 491.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.295, allocations: 6.75 kB / 491.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.2955, allocations: 170.3 kB / 491.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/0.2955, allocations: 19.42 kB / 491.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.2956, allocations: 29.12 kB / 491.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.2956, allocations: 10.09 kB / 491.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.2956, allocations: 16.38 kB / 491.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.297, allocations: 1.297 MB / 493.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.2973, allocations: 229 kB / 493.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.2975, allocations: 25.41 kB / 493.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2979, allocations: 44.66 kB / 493.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.298, allocations: 83.89 kB / 493.5 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.2981, allocations: 53.09 kB / 493.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001263/0.2994, allocations: 1.053 MB / 494.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2994, allocations: 1.125 kB / 494.6 MB, free: 40.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00331/0.3027, allocations: 1.057 MB / 495.6 MB, free: 39.68 MB / 410.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.0003173/0.303, allocations: 152.7 kB / 495.8 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.3064, allocations: 2.066 MB / 497.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.3064, allocations: 1.469 kB / 497.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.3069, allocations: 370 kB / 498.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009117/0.3078, allocations: 208.7 kB / 498.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009572/0.3174, allocations: 6.448 MB / 0.493 GB, free: 35.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/0.3183, allocations: 1.08 MB / 0.4941 GB, free: 34.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002075/0.3204, allocations: 1.413 MB / 0.4955 GB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.3207, allocations: 165.9 kB / 0.4956 GB, free: 34.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.524e-06/0.3207, allocations: 0 / 0.4956 GB, free: 34.87 MB / 410.7 MB Notification: Performance of Templates: time 0.02707/0.3478, allocations: 13.57 MB / 0.5089 GB, free: 32.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8269529319368303]