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.001109/0.001109, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001011/0.001011, allocations: 161 kB / 24.56 MB, free: 12 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 0.959/0.959, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2375/0.2375, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] 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.052e-06/1.052e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.842e-05, allocations: 10.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006889/0.006907, allocations: 8.389 MB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004237/0.01114, allocations: 3.405 MB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.01163, allocations: 55.75 kB / 387.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.01345, allocations: 1.464 MB / 389.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.01463, allocations: 0.9721 MB / 390.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.01519, allocations: 0.5652 MB / 390.9 MB, free: 5.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.01647, allocations: 2.065 MB / 392.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.01754, allocations: 1.549 MB / 394.5 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007753/0.01831, allocations: 1.033 MB / 395.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.0194, allocations: 1.009 MB / 396.5 MB, free: 60 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.01955, allocations: 144 kB / 396.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.02009, allocations: 0.5615 MB / 397.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.02055, allocations: 0.791 MB / 398 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.02093, allocations: 0.5415 MB / 398.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.02223, allocations: 1.736 MB / 400.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02223, allocations: 8 kB / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02223, allocations: 0 / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.02225, allocations: 0 / 400.3 MB, free: 12.27 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.002094/0.02434, allocations: 2.166 MB / 402.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.02438, allocations: 12.03 kB / 402.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/0.02519, allocations: 419.5 kB / 402.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.02652, allocations: 0.9313 MB / 403.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.02657, allocations: 90.83 kB / 403.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.0267, allocations: 124.3 kB / 404 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.02915, allocations: 2.037 MB / 406.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.02918, allocations: 15.89 kB / 406.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.02926, allocations: 59.97 kB / 406.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00036/0.02962, allocations: 430 kB / 406.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.03156, allocations: 1.024 MB / 407.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007592/0.03915, allocations: 11.64 MB / 419.2 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.04119, allocations: 1.033 MB / 420.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.04144, allocations: 209.3 kB / 420.5 MB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00178/0.04322, allocations: 1.79 MB / 422.3 MB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.04325, allocations: 41.89 kB / 422.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 1.693e-06/0.04325, allocations: 0 / 422.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006143/0.04939, allocations: 3.001 MB / 425.3 MB, free: 2.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.04943, allocations: 85.61 kB / 425.4 MB, free: 2.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008507/0.05028, allocations: 1.117 MB / 426.5 MB, free: 1.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.05031, allocations: 37.7 kB / 426.5 MB, free: 1.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.05076, allocations: 1.043 MB / 427.6 MB, free: 108 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.05088, allocations: 230.2 kB / 427.8 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.05113, allocations: 333 kB / 428.1 MB, free: 15.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.05126, allocations: 0.5355 MB / 428.7 MB, free: 15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.0515, allocations: 167.9 kB / 428.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.05222, allocations: 1.423 MB / 430.3 MB, free: 12.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.05353, allocations: 1.717 MB / 432 MB, free: 10.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.05354, allocations: 12 kB / 432 MB, free: 10.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.0013/0.05484, allocations: 1.306 MB / 433.3 MB, free: 9.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.05487, allocations: 17.47 kB / 433.3 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.05489, allocations: 32 kB / 433.3 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.05504, allocations: 75.66 kB / 433.4 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.05564, allocations: 359.3 kB / 433.8 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009533/0.05659, allocations: 2.137 MB / 435.9 MB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.05705, allocations: 99.95 kB / 436 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.05712, allocations: 88 kB / 436.1 MB, free: 6.312 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.0002558/0.05737, allocations: 290.4 kB / 436.4 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.05748, allocations: 135.2 kB / 436.5 MB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.05758, allocations: 110.6 kB / 436.6 MB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.05759, allocations: 11.94 kB / 436.6 MB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.05759, allocations: 7.984 kB / 436.6 MB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.0576, allocations: 0 / 436.6 MB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.05959, allocations: 1.762 MB / 438.4 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.0596, allocations: 4 kB / 438.4 MB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.05981, allocations: 95.83 kB / 438.5 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.05991, allocations: 47.66 kB / 438.5 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.05993, allocations: 16 kB / 438.6 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009314/0.06087, allocations: 2.173 MB / 440.7 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.06087, allocations: 4 kB / 440.7 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.06152, allocations: 0.8187 MB / 441.5 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.06162, allocations: 123.3 kB / 441.7 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.06168, allocations: 16 kB / 441.7 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.0619, allocations: 39.95 kB / 441.7 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.06195, allocations: 51.8 kB / 441.8 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.06197, allocations: 20 kB / 441.8 MB, free: 276 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1521/0.2141, allocations: 0.5703 MB / 442.4 MB, free: 94.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2141, allocations: 0 / 442.4 MB, free: 94.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001487/0.2156, allocations: 352.6 kB / 442.7 MB, free: 94.54 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.0002798/0.2159, allocations: 142.8 kB / 442.8 MB, free: 94.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.217, allocations: 0.8535 MB / 443.7 MB, free: 94.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.217, allocations: 0 / 443.7 MB, free: 94.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.2173, allocations: 381 kB / 444.1 MB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.2179, allocations: 172.3 kB / 444.2 MB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.2209, allocations: 2.518 MB / 446.8 MB, free: 92.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2212, allocations: 411.5 kB / 447.2 MB, free: 92.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005/0.2217, allocations: 354.4 kB / 447.5 MB, free: 92.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2218, allocations: 82.78 kB / 447.6 MB, free: 92.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2218, allocations: 3.5 kB / 447.6 MB, free: 92.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01419/0.236, allocations: 10.59 MB / 458.2 MB, free: 91.75 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] 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","",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.487759806215763]