Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001896/0.001896, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.002338/0.002338, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.478/1.478, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2247/0.2247, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.61e-05, allocations: 10.25 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01685/0.01688, allocations: 11.06 MB / 358 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.03164, allocations: 3.719 MB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.03434, allocations: 71.75 kB / 361.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005345/0.03969, allocations: 1.37 MB / 363.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.04638, allocations: 1.902 MB / 365.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.04775, allocations: 474.9 kB / 365.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006122/0.05387, allocations: 4.005 MB / 369.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003927/0.0578, allocations: 2.204 MB / 371.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/0.0622, allocations: 1.906 MB / 373.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004216/0.06642, allocations: 2.003 MB / 375.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.06739, allocations: 244 kB / 375.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.06953, allocations: 0.7957 MB / 376.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.07159, allocations: 1.737 MB / 378.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.07341, allocations: 1.051 MB / 379.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009131/0.08254, allocations: 6.228 MB / 385.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.08255, allocations: 4 kB / 385.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.08255, allocations: 0 / 385.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.08275, allocations: 0 / 385.7 MB, free: 2.867 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.008935/0.09168, allocations: 4.198 MB / 389.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.09173, allocations: 8.031 kB / 389.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.1049, allocations: 3.77 MB / 393.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.11, allocations: 1.929 MB / 395.6 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.1102, allocations: 197.1 kB / 395.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.1113, allocations: 256.1 kB / 396.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.1314, allocations: 10.39 MB / 406.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.521e-05/0.1315, allocations: 23.8 kB / 406.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.1319, allocations: 127.8 kB / 406.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0048/0.1367, allocations: 2.538 MB / 409.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.1578, allocations: 9.431 MB / 418.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1966/0.3544, allocations: 29.66 MB / 448.2 MB, free: 70.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005082/0.3595, allocations: 2.449 MB / 450.7 MB, free: 70.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3606, allocations: 1.008 MB / 451.7 MB, free: 69.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.3613, allocations: 442.7 kB / 452.1 MB, free: 69.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3613, allocations: 52.34 kB / 452.2 MB, free: 69.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=187): time 3.997e-06/0.3613, allocations: 0 / 452.2 MB, free: 69.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=193): time 0.01794/0.3793, allocations: 9.997 MB / 462.2 MB, free: 66.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3793, allocations: 96.61 kB / 462.3 MB, free: 65.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/0.3823, allocations: 2.769 MB / 465 MB, free: 64.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.3823, allocations: 45.7 kB / 465.1 MB, free: 64.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.3835, allocations: 2.858 MB / 467.9 MB, free: 62.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/0.3839, allocations: 0.7338 MB / 468.7 MB, free: 61.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.3848, allocations: 0.9787 MB / 469.6 MB, free: 60.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.3849, allocations: 358.5 kB / 470 MB, free: 60.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.3866, allocations: 1.567 MB / 471.6 MB, free: 58.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.3895, allocations: 4.48 MB / 476 MB, free: 52.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005116/0.3946, allocations: 6.695 MB / 482.7 MB, free: 44.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/0.3946, allocations: 28 kB / 482.8 MB, free: 44.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.00737/0.402, allocations: 6.214 MB / 489 MB, free: 38.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.402, allocations: 48 kB / 489 MB, free: 38.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.305e-05/0.4021, allocations: 108.9 kB / 489.1 MB, free: 38.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.4024, allocations: 176.8 kB / 489.3 MB, free: 38.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.4054, allocations: 1.1 MB / 490.4 MB, free: 37.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.4065, allocations: 1.676 MB / 492.1 MB, free: 35.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/0.4093, allocations: 247.9 kB / 492.3 MB, free: 35.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.4096, allocations: 303.4 kB / 492.6 MB, free: 34.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * Array equations: 6 * 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.00236/0.4119, allocations: 2.024 MB / 494.6 MB, free: 32.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.4123, allocations: 297.9 kB / 494.9 MB, free: 32.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.4153, allocations: 2.524 MB / 497.4 MB, free: 30.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.4153, allocations: 31.27 kB / 497.5 MB, free: 30.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4153, allocations: 4 kB / 497.5 MB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4153, allocations: 3.984 kB / 497.5 MB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008818/0.4241, allocations: 6.77 MB / 0.4924 GB, free: 23.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.4241, allocations: 12 kB / 0.4925 GB, free: 23.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008874/0.425, allocations: 251.6 kB / 0.4927 GB, free: 22.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.4252, allocations: 56.83 kB / 0.4927 GB, free: 22.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.173e-05/0.4252, allocations: 44.5 kB / 0.4928 GB, free: 22.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009748/0.4262, allocations: 1.512 MB / 0.4943 GB, free: 21.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.4262, allocations: 15.94 kB / 0.4943 GB, free: 21.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.4302, allocations: 4.071 MB / 0.4983 GB, free: 16.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/0.4311, allocations: 450.2 kB / 0.4987 GB, free: 16.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.4313, allocations: 42.91 kB / 0.4987 GB, free: 16.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.4322, allocations: 82.17 kB / 0.4988 GB, free: 16.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.4324, allocations: 132.4 kB / 0.4989 GB, free: 16.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/0.4325, allocations: 63.98 kB / 0.499 GB, free: 16.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001749/0.4342, allocations: 1.584 MB / 0.5005 GB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4342, allocations: 4 kB / 0.5005 GB, free: 14.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003965/0.4382, allocations: 0.877 MB / 0.5014 GB, free: 13.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004683/0.4387, allocations: 200.7 kB / 0.5016 GB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00459/0.4433, allocations: 3.774 MB / 0.5053 GB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4433, allocations: 4 kB / 0.5053 GB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.4445, allocations: 1.174 MB / 0.5064 GB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.446, allocations: 271 kB / 0.5067 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.4584, allocations: 8.884 MB / 0.5154 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/0.4624, allocations: 2.661 MB / 0.518 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004284/0.4667, allocations: 1.708 MB / 0.5196 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.4672, allocations: 184.5 kB / 0.5198 GB, free: 10.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.596e-06/0.4672, allocations: 0 / 0.5198 GB, free: 10.61 MB / 378.7 MB Notification: Performance of Templates: time 0.04467/0.5119, allocations: 17.07 MB / 0.5365 GB, free: 9.734 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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: 6.468939304002561]