Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002615/0.002615, allocations: 91.67 kB / 20.21 MB, free: 4.207 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.002932/0.002932, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2248/0.2248, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.923e-05, allocations: 6.25 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007779/0.007808, allocations: 8.373 MB / 355.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007846/0.01565, allocations: 3.367 MB / 358.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.01708, allocations: 55.75 kB / 358.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.02039, allocations: 1.452 MB / 360.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.02324, allocations: 1.011 MB / 361.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.02466, allocations: 0.569 MB / 361.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.02782, allocations: 2.005 MB / 363.8 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.03006, allocations: 1.565 MB / 365.4 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.03187, allocations: 1.049 MB / 366.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.03355, allocations: 1.013 MB / 367.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.03385, allocations: 144 kB / 367.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.03518, allocations: 0.5966 MB / 368.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.03618, allocations: 0.7949 MB / 368.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.03704, allocations: 0.5415 MB / 369.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004342/0.04138, allocations: 2.598 MB / 372.1 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.0414, allocations: 4 kB / 372.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.0414, allocations: 0 / 372.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.457e-05/0.04147, allocations: 0 / 372.1 MB, free: 0.5352 MB / 298.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.005685/0.04715, allocations: 2.318 MB / 374.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.04721, allocations: 8.031 kB / 374.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.04896, allocations: 419.5 kB / 374.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.05148, allocations: 0.9613 MB / 375.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.05161, allocations: 98.83 kB / 375.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.05186, allocations: 124.3 kB / 376 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005821/0.05768, allocations: 2.162 MB / 378.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/0.05774, allocations: 11.89 kB / 378.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.05789, allocations: 59.97 kB / 378.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008109/0.05871, allocations: 430 kB / 378.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.06302, allocations: 1.058 MB / 379.7 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.08226, allocations: 12.62 MB / 392.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.08625, allocations: 0.9972 MB / 393.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.08672, allocations: 224.8 kB / 393.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004106/0.09083, allocations: 1.845 MB / 395.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.09087, allocations: 41.89 kB / 395.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.094e-06/0.09088, allocations: 0 / 395.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.01236/0.1032, allocations: 3.087 MB / 398.5 MB, free: 5.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.1033, allocations: 81.61 kB / 398.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.106, allocations: 1.392 MB / 400 MB, free: 3.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.106, allocations: 37.7 kB / 400 MB, free: 3.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.1073, allocations: 1.082 MB / 401.1 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.1076, allocations: 246.2 kB / 401.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006497/0.1083, allocations: 389 kB / 401.7 MB, free: 1.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004291/0.1087, allocations: 0.559 MB / 402.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.1092, allocations: 171.9 kB / 402.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.1111, allocations: 1.489 MB / 404 MB, free: 15.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.1137, allocations: 1.795 MB / 405.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.291e-05/0.1138, allocations: 8 kB / 405.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003018/0.1168, allocations: 1.344 MB / 407.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.1168, allocations: 17 kB / 407.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.57e-05/0.1169, allocations: 28 kB / 407.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.1172, allocations: 83.59 kB / 407.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.1184, allocations: 359.3 kB / 407.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.1206, allocations: 2.176 MB / 409.8 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.1219, allocations: 99.92 kB / 409.8 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.1221, allocations: 92.03 kB / 409.9 MB, free: 8.5 MB / 346.7 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.0008551/0.1229, allocations: 314.4 kB / 410.2 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.1233, allocations: 135.4 kB / 410.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.1245, allocations: 476.3 kB / 410.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.1245, allocations: 8 kB / 410.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1245, allocations: 8 kB / 410.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1245, allocations: 3.984 kB / 410.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.1295, allocations: 2.094 MB / 413 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.1295, allocations: 4 kB / 413 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.1299, allocations: 91.89 kB / 413.1 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.1301, allocations: 55.59 kB / 413.1 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.1302, allocations: 16 kB / 413.1 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.1325, allocations: 2.224 MB / 415.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.1325, allocations: 7.938 kB / 415.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.1341, allocations: 0.8622 MB / 416.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/0.1347, allocations: 151.2 kB / 416.4 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.135, allocations: 12 kB / 416.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/0.1356, allocations: 55.81 kB / 416.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1357, allocations: 43.92 kB / 416.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.1357, allocations: 20 kB / 416.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.1371, allocations: 0.6793 MB / 417.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1371, allocations: 0 / 417.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001911/0.139, allocations: 367.9 kB / 417.5 MB, free: 0.5508 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.0004125/0.1394, allocations: 155.1 kB / 417.7 MB, free: 400 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.1414, allocations: 0.9381 MB / 418.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1414, allocations: 4.625 kB / 418.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.1422, allocations: 398.1 kB / 419 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1432, allocations: 177.4 kB / 419.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.1486, allocations: 2.547 MB / 421.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.1499, allocations: 0.8089 MB / 422.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001131/0.151, allocations: 353.1 kB / 422.9 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.1513, allocations: 80.48 kB / 423 MB, free: 10.92 MB / 362.7 MB Notification: Performance of SimCode: time 3.757e-06/0.1513, allocations: 0 / 423 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Templates: time 0.02761/0.1789, allocations: 10.97 MB / 433.9 MB, free: 72 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.533310558996163]