Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001426/0.001426, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001661/0.001661, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 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 1.487/1.487, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3443/0.3443, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.259e-05, allocations: 5.406 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01147/0.0115, allocations: 7.649 MB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008359/0.01986, allocations: 3.296 MB / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.02142, allocations: 55.75 kB / 386.3 MB, free: 9.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003439/0.02486, allocations: 1.413 MB / 387.7 MB, free: 8.516 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.02804, allocations: 0.9643 MB / 388.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.02968, allocations: 0.569 MB / 389.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003399/0.03308, allocations: 2.057 MB / 391.3 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.03595, allocations: 1.549 MB / 392.8 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.03864, allocations: 1.017 MB / 393.8 MB, free: 2.301 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.0407, allocations: 0.9937 MB / 394.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.04113, allocations: 140 kB / 395 MB, free: 1.168 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.04255, allocations: 0.5694 MB / 395.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.04361, allocations: 0.7832 MB / 396.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.04484, allocations: 0.5337 MB / 396.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.04892, allocations: 2.559 MB / 399.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.04893, allocations: 0 / 399.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.04893, allocations: 0 / 399.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.701e-05/0.04903, allocations: 4 kB / 399.4 MB, free: 12.71 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.005736/0.05476, allocations: 1.998 MB / 401.4 MB, free: 10.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.05481, allocations: 8.031 kB / 401.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.05632, allocations: 423.5 kB / 401.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.05834, allocations: 1.011 MB / 402.9 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.05844, allocations: 90.83 kB / 402.9 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.05868, allocations: 128.3 kB / 403.1 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006414/0.06509, allocations: 3.058 MB / 406.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.06514, allocations: 11.89 kB / 406.1 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.06529, allocations: 59.97 kB / 406.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007106/0.066, allocations: 434 kB / 406.6 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004962/0.07096, allocations: 2.16 MB / 408.8 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.08531, allocations: 9.993 MB / 418.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/0.08949, allocations: 1.273 MB / 420 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/0.0902, allocations: 371.6 kB / 420.4 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004727/0.09492, allocations: 2.068 MB / 422.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.09498, allocations: 39.06 kB / 422.5 MB, free: 5.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.425e-06/0.09498, allocations: 0 / 422.5 MB, free: 5.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01294/0.1079, allocations: 3.813 MB / 426.3 MB, free: 1.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.108, allocations: 89.61 kB / 426.4 MB, free: 1.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.1099, allocations: 1.239 MB / 427.7 MB, free: 15.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.1099, allocations: 37.7 kB / 427.7 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.1108, allocations: 0.9585 MB / 428.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.111, allocations: 222.2 kB / 428.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.1114, allocations: 319.3 kB / 429.2 MB, free: 14.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.1116, allocations: 357.9 kB / 429.5 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/0.1124, allocations: 427.7 kB / 429.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.114, allocations: 1.279 MB / 431.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.1168, allocations: 1.811 MB / 433 MB, free: 9.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.1168, allocations: 16 kB / 433.1 MB, free: 9.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003184/0.12, allocations: 1.814 MB / 434.9 MB, free: 7.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.12, allocations: 22.48 kB / 434.9 MB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/0.12, allocations: 32 kB / 434.9 MB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.1203, allocations: 88.83 kB / 435 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.1215, allocations: 363.3 kB / 435.4 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.1234, allocations: 1.75 MB / 437.1 MB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.1245, allocations: 95.92 kB / 437.2 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.1247, allocations: 84.19 kB / 437.3 MB, free: 5.168 MB / 410.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.001052/0.1257, allocations: 0.6439 MB / 437.9 MB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.1259, allocations: 131.3 kB / 438.1 MB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1262, allocations: 134.6 kB / 438.2 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1262, allocations: 15.88 kB / 438.2 MB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1262, allocations: 4 kB / 438.2 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1262, allocations: 0 / 438.2 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.1296, allocations: 1.815 MB / 440 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.1296, allocations: 4 kB / 440 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.13, allocations: 99.86 kB / 440.1 MB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.1303, allocations: 69.31 kB / 440.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.1303, allocations: 19.98 kB / 440.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.1322, allocations: 1.809 MB / 442 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1323, allocations: 4 kB / 442 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1955/0.3278, allocations: 1.117 MB / 443.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.3282, allocations: 114.1 kB / 443.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.3283, allocations: 18.41 kB / 443.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.3291, allocations: 40.55 kB / 443.3 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3292, allocations: 53.98 kB / 443.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.3293, allocations: 23.78 kB / 443.4 MB, free: 102.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.3306, allocations: 0.7593 MB / 444.1 MB, free: 102 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3306, allocations: 0 / 444.1 MB, free: 102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002524/0.3332, allocations: 353.7 kB / 444.5 MB, free: 102 MB / 410.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.0004026/0.3336, allocations: 141.3 kB / 444.6 MB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3359, allocations: 1.072 MB / 445.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3359, allocations: 3.688 kB / 445.7 MB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.3366, allocations: 401.6 kB / 446.1 MB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.3381, allocations: 175.3 kB / 446.3 MB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.3436, allocations: 2.841 MB / 449.1 MB, free: 99.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.3448, allocations: 0.8575 MB / 450 MB, free: 99.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001261/0.3461, allocations: 409.2 kB / 450.4 MB, free: 99.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.3463, allocations: 75.52 kB / 450.4 MB, free: 99.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3463, allocations: 0 / 450.4 MB, free: 99.59 MB / 410.7 MB Notification: Performance of Templates: time 0.02797/0.3743, allocations: 10.64 MB / 461.1 MB, free: 98.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.555646927910857]