Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001266/0.001266, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002768, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009551/0.0009551, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002116, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1028/1.14, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2936/0.2936, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02801/0.3216, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.31e-05, allocations: 3.188 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00992/0.009943, allocations: 8.303 MB / 300.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007534/0.01748, allocations: 3.528 MB / 304.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.01889, allocations: 55.75 kB / 304.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.0211, allocations: 1.374 MB / 305.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.02362, allocations: 0.933 MB / 306.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.0247, allocations: 0.5184 MB / 307.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00253/0.02723, allocations: 1.988 MB / 309.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.02916, allocations: 1.362 MB / 310.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.031, allocations: 1.132 MB / 311.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.03249, allocations: 0.9353 MB / 312.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.0329, allocations: 140 kB / 312.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.03395, allocations: 0.5888 MB / 313.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006487/0.0346, allocations: 0.6859 MB / 314.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.0352, allocations: 438.9 kB / 314.6 MB, free: 196 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.03722, allocations: 1.581 MB / 316.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.03723, allocations: 0 / 316.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.03723, allocations: 0 / 316.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.167e-05/0.03729, allocations: 0 / 316.2 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003334/0.04063, allocations: 2.138 MB / 318.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.04067, allocations: 12.03 kB / 318.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.04154, allocations: 337.8 kB / 318.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.04281, allocations: 0.804 MB / 319.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/0.04289, allocations: 102.8 kB / 319.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.04308, allocations: 124.3 kB / 319.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.04588, allocations: 1.618 MB / 321.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/0.04593, allocations: 19.81 kB / 321.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.04605, allocations: 55.97 kB / 321.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005053/0.04656, allocations: 406.1 kB / 321.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.04873, allocations: 0.7336 MB / 322.5 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008544/0.05728, allocations: 8.3 MB / 330.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.05984, allocations: 0.9109 MB / 331.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.06008, allocations: 144.2 kB / 331.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002612/0.0627, allocations: 1.569 MB / 333.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.06273, allocations: 39.06 kB / 333.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/0.06273, allocations: 0 / 333.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.007556/0.07029, allocations: 2.323 MB / 335.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.07033, allocations: 59.91 kB / 335.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.07147, allocations: 1.017 MB / 336.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.0715, allocations: 33.7 kB / 336.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.07206, allocations: 0.886 MB / 337.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.07222, allocations: 230.1 kB / 338 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.07257, allocations: 315.2 kB / 338.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.07269, allocations: 361.8 kB / 338.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.07312, allocations: 182.8 kB / 338.9 MB, free: 7.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.07404, allocations: 1.057 MB / 339.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.07535, allocations: 1.359 MB / 341.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.07537, allocations: 8 kB / 341.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001621/0.07699, allocations: 1.055 MB / 342.3 MB, free: 2.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.07702, allocations: 20 kB / 342.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.891e-05/0.07706, allocations: 32.88 kB / 342.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.07725, allocations: 91.59 kB / 342.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.07839, allocations: 415.3 kB / 342.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.07958, allocations: 1.561 MB / 344.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008462/0.08043, allocations: 71.97 kB / 344.5 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.08053, allocations: 80 kB / 344.6 MB, free: 488 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004787/0.08101, allocations: 258.5 kB / 344.8 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.08115, allocations: 75.92 kB / 344.9 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.08132, allocations: 114.8 kB / 345 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.08133, allocations: 8 kB / 345 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.08134, allocations: 0 / 345 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.08135, allocations: 11.92 kB / 345 MB, free: 0 / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.08361, allocations: 1.442 MB / 346.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.08362, allocations: 8.125 kB / 346.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.08399, allocations: 111.8 kB / 346.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.08414, allocations: 99.28 kB / 346.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.08429, allocations: 51.64 kB / 346.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.08432, allocations: 16 kB / 346.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.0856, allocations: 1.64 MB / 348.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.08561, allocations: 4 kB / 348.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.08633, allocations: 0.6332 MB / 349 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.08644, allocations: 16 kB / 349.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.08678, allocations: 23.92 kB / 349.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.08685, allocations: 43.86 kB / 349.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.08688, allocations: 19.94 kB / 349.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000481/0.08736, allocations: 402.2 kB / 349.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08736, allocations: 0 / 349.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001451/0.08881, allocations: 352 kB / 349.9 MB, free: 10.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/0.08908, allocations: 124.2 kB / 350 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.09013, allocations: 0.727 MB / 350.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.796e-05/0.0902, allocations: 39.78 kB / 350.8 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.09055, allocations: 292.1 kB / 351.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.09143, allocations: 264.3 kB / 351.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.09732, allocations: 2.554 MB / 353.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.09782, allocations: 412.2 kB / 354.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006092/0.09843, allocations: 157.8 kB / 354.4 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.09887, allocations: 233.3 kB / 354.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.09887, allocations: 0 / 354.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of Templates: time 0.01802/0.1169, allocations: 11.71 MB / 366.4 MB, free: 10.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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.266825418919325]