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.001157/0.001157, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001104/0.001104, allocations: 165.5 kB / 24.82 MB, free: 9.27 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 1.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.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.3513/0.3513, allocations: 34.27 MB / 296.1 MB, free: 0.6445 MB / 266.7 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 1.854e-06/1.854e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.504e-05, allocations: 10.25 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006964/0.006989, allocations: 8.185 MB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006889/0.01388, allocations: 3.378 MB / 390.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.01564, allocations: 51.75 kB / 390.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.01761, allocations: 1.441 MB / 391.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.01974, allocations: 0.9798 MB / 392.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.02063, allocations: 0.5652 MB / 393.1 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.02252, allocations: 2.057 MB / 395.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.02392, allocations: 1.549 MB / 396.7 MB, free: 36 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.02512, allocations: 1.056 MB / 397.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009454/0.02606, allocations: 0.9743 MB / 398.7 MB, free: 14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.02624, allocations: 140 kB / 398.9 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007318/0.02697, allocations: 0.5654 MB / 399.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.02746, allocations: 0.7871 MB / 400.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.02787, allocations: 0.5337 MB / 400.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.02937, allocations: 1.725 MB / 402.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.02937, allocations: 4 kB / 402.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02937, allocations: 0 / 402.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.0294, allocations: 0 / 402.5 MB, free: 10.24 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.002023/0.03142, allocations: 2.034 MB / 404.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.03146, allocations: 12.03 kB / 404.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007508/0.03221, allocations: 403.5 kB / 404.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/0.03307, allocations: 0.8508 MB / 405.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.03313, allocations: 90.83 kB / 405.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.03325, allocations: 120.3 kB / 406 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.03546, allocations: 1.783 MB / 407.8 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.0355, allocations: 19.86 kB / 407.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.03558, allocations: 55.97 kB / 407.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003741/0.03595, allocations: 402.1 kB / 408.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.03748, allocations: 0.7457 MB / 409 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008052/0.04553, allocations: 11.5 MB / 420.5 MB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.04745, allocations: 0.9897 MB / 421.5 MB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.04765, allocations: 181.3 kB / 421.7 MB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/0.0497, allocations: 1.762 MB / 423.4 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.04973, allocations: 41.89 kB / 423.5 MB, free: 4.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.575e-06/0.04974, allocations: 4 kB / 423.5 MB, free: 4.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.005711/0.05545, allocations: 2.667 MB / 426.1 MB, free: 1.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.05549, allocations: 85.61 kB / 426.2 MB, free: 1.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.05645, allocations: 1.118 MB / 427.3 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.05648, allocations: 33.7 kB / 427.4 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.05704, allocations: 1.062 MB / 428.4 MB, free: 15.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.05717, allocations: 226.2 kB / 428.6 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.05745, allocations: 356.8 kB / 429 MB, free: 14.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.05761, allocations: 0.5432 MB / 429.5 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.05782, allocations: 143.9 kB / 429.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.05863, allocations: 1.468 MB / 431.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.05988, allocations: 1.723 MB / 432.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.05989, allocations: 8 kB / 432.9 MB, free: 9.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00133/0.06122, allocations: 1.251 MB / 434.1 MB, free: 8.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.06125, allocations: 22.19 kB / 434.2 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.06128, allocations: 28 kB / 434.2 MB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.06144, allocations: 79.64 kB / 434.3 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.06209, allocations: 363.8 kB / 434.6 MB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.06345, allocations: 2.114 MB / 436.7 MB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.06401, allocations: 63.98 kB / 436.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.06408, allocations: 72 kB / 436.9 MB, free: 5.664 MB / 410.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.0004036/0.06448, allocations: 306.5 kB / 437.2 MB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.06461, allocations: 131.2 kB / 437.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.06474, allocations: 114.8 kB / 437.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.06474, allocations: 7.984 kB / 437.4 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.06475, allocations: 3.938 kB / 437.4 MB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.06476, allocations: 4 kB / 437.4 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.06669, allocations: 1.722 MB / 439.1 MB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.0667, allocations: 4 kB / 439.1 MB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.06691, allocations: 96.33 kB / 439.2 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.06703, allocations: 51.66 kB / 439.3 MB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.06705, allocations: 16 kB / 439.3 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.06814, allocations: 2.127 MB / 441.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.06815, allocations: 7.938 kB / 441.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.06877, allocations: 0.7762 MB / 442.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.06889, allocations: 107.2 kB / 442.3 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.06896, allocations: 24 kB / 442.3 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.06915, allocations: 19.98 kB / 442.4 MB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.0692, allocations: 51.81 kB / 442.4 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.06922, allocations: 19.98 kB / 442.4 MB, free: 15.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000391/0.06961, allocations: 0.5386 MB / 443 MB, free: 15.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.06961, allocations: 0 / 443 MB, free: 15.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009796/0.07059, allocations: 356 kB / 443.3 MB, free: 14.87 MB / 426.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.0002504/0.07084, allocations: 135.1 kB / 443.4 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008327/0.07168, allocations: 0.8219 MB / 444.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.07168, allocations: 4 kB / 444.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.07195, allocations: 367.3 kB / 444.6 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.07252, allocations: 184.9 kB / 444.8 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.07549, allocations: 2.51 MB / 447.3 MB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.07582, allocations: 412.2 kB / 447.7 MB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000328/0.07615, allocations: 157.7 kB / 447.9 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.07643, allocations: 262.1 kB / 448.1 MB, free: 9.863 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.07643, allocations: 0 / 448.1 MB, free: 9.863 MB / 426.7 MB Notification: Performance of Templates: time 0.2203/0.2967, allocations: 11.41 MB / 459.5 MB, free: 107.6 MB / 426.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 -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: 4.001735981088132]