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.001931/0.001931, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002665/0.002665, allocations: 211.4 kB / 23.73 MB, free: 4.523 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2418/0.2418, allocations: 46.97 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002103/0.002103, allocations: 63.91 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3972, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01116/0.4083, allocations: 7.643 MB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009324/0.4176, allocations: 3.293 MB / 0.5718 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.4193, allocations: 51.75 kB / 0.5718 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.4226, allocations: 1.32 MB / 0.5731 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.4256, allocations: 0.934 MB / 0.574 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.427, allocations: 0.5225 MB / 0.5745 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.4299, allocations: 1.733 MB / 0.5762 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.432, allocations: 1.255 MB / 0.5774 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.4334, allocations: 0.6776 MB / 0.5781 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.4352, allocations: 0.9424 MB / 0.579 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.4357, allocations: 136 kB / 0.5791 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.4371, allocations: 0.5656 MB / 0.5797 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.4381, allocations: 0.7402 MB / 0.5804 GB, free: 260 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4391, allocations: 0.6528 MB / 0.5811 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.4421, allocations: 2.498 MB / 0.5835 GB, free: 13.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4421, allocations: 0 / 0.5835 GB, free: 13.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4421, allocations: 0 / 0.5835 GB, free: 13.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.4422, allocations: 0 / 0.5835 GB, free: 13.09 MB / 430.1 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.003617/0.4458, allocations: 1.975 MB / 0.5854 GB, free: 11.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4458, allocations: 8.031 kB / 0.5854 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.4469, allocations: 275.6 kB / 0.5857 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.4491, allocations: 1.003 MB / 0.5867 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4492, allocations: 98.58 kB / 0.5868 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.4494, allocations: 131.9 kB / 0.5869 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.4552, allocations: 3.042 MB / 0.5899 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.4553, allocations: 15.88 kB / 0.5899 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.4554, allocations: 59.97 kB / 0.5899 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006631/0.4561, allocations: 430 kB / 0.5904 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/0.4611, allocations: 2.171 MB / 0.5925 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.4745, allocations: 9.893 MB / 0.6021 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/0.4787, allocations: 1.187 MB / 0.6033 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.4793, allocations: 379 kB / 0.6037 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004043/0.4833, allocations: 2.009 MB / 0.6056 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.4834, allocations: 39 kB / 0.6057 GB, free: 5.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.434e-06/0.4834, allocations: 0 / 0.6057 GB, free: 5.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01212/0.4955, allocations: 3.578 MB / 0.6091 GB, free: 2.168 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.4956, allocations: 85.55 kB / 0.6092 GB, free: 2.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.4972, allocations: 1.153 MB / 0.6104 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.4973, allocations: 37.7 kB / 0.6104 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.4981, allocations: 0.9625 MB / 0.6113 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.4983, allocations: 242.1 kB / 0.6116 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4987, allocations: 315.3 kB / 0.6119 GB, free: 15.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.4989, allocations: 353.9 kB / 0.6122 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.4996, allocations: 427.7 kB / 0.6126 GB, free: 14.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.5011, allocations: 1.279 MB / 0.6139 GB, free: 12.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.5035, allocations: 1.822 MB / 0.6156 GB, free: 10.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.5035, allocations: 8 kB / 0.6156 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00295/0.5064, allocations: 1.735 MB / 0.6173 GB, free: 8.863 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.5065, allocations: 16 kB / 0.6174 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.5065, allocations: 39.92 kB / 0.6174 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.5067, allocations: 88.81 kB / 0.6175 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5078, allocations: 359.3 kB / 0.6178 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.5096, allocations: 1.739 MB / 0.6195 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/0.5105, allocations: 68.17 kB / 0.6196 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.5106, allocations: 88 kB / 0.6197 GB, free: 6.371 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * 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.0009448/0.5115, allocations: 0.6401 MB / 0.6203 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.5117, allocations: 115.2 kB / 0.6204 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.5119, allocations: 130.7 kB / 0.6205 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5119, allocations: 4 kB / 0.6205 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5119, allocations: 4 kB / 0.6205 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5119, allocations: 3.984 kB / 0.6205 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.5152, allocations: 1.804 MB / 0.6223 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5152, allocations: 7.984 kB / 0.6223 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.5156, allocations: 91.83 kB / 0.6224 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.5158, allocations: 69.25 kB / 0.6225 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.5158, allocations: 20 kB / 0.6225 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.5177, allocations: 1.798 MB / 0.6242 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.5177, allocations: 7.938 kB / 0.6242 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.5193, allocations: 1.114 MB / 0.6253 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.5195, allocations: 99.28 kB / 0.6254 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.5196, allocations: 12 kB / 0.6254 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.52, allocations: 23.98 kB / 0.6255 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.5201, allocations: 51.8 kB / 0.6255 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.5201, allocations: 20 kB / 0.6255 GB, free: 104 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.5211, allocations: 0.6987 MB / 0.6262 GB, free: 15.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5211, allocations: 4.062 kB / 0.6262 GB, free: 15.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001341/0.5225, allocations: 296 kB / 0.6265 GB, free: 15.1 MB / 478.1 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.0002214/0.5227, allocations: 123.6 kB / 0.6266 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.5246, allocations: 1.092 MB / 0.6277 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5246, allocations: 0 / 0.6277 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.5252, allocations: 391.8 kB / 0.6281 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009158/0.5261, allocations: 183.1 kB / 0.6282 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.5308, allocations: 2.863 MB / 0.631 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.5319, allocations: 0.8627 MB / 0.6319 GB, free: 9.445 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008999/0.5328, allocations: 397.1 kB / 0.6322 GB, free: 9.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.533, allocations: 71.42 kB / 0.6323 GB, free: 8.988 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.533, allocations: 3.938 kB / 0.6323 GB, free: 8.984 MB / 478.1 MB Notification: Performance of Templates: time 0.02389/0.5569, allocations: 11.8 MB / 0.6438 GB, free: 13.36 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.798785457853228]