Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001315/0.001315, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001299/0.001299, allocations: 161 kB / 24.56 MB, free: 16 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.645 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.3162/0.3162, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.657e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02846/0.02849, allocations: 11.81 MB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.04641, allocations: 3.8 MB / 391.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.04891, allocations: 67.75 kB / 391.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.05168, allocations: 1.389 MB / 393.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.05636, allocations: 1.844 MB / 394.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.05766, allocations: 470.9 kB / 395.4 MB, free: 1.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006298/0.06396, allocations: 3.965 MB / 399.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/0.06802, allocations: 2.164 MB / 401.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004052/0.07207, allocations: 1.875 MB / 403.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.07544, allocations: 1.937 MB / 405.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.07644, allocations: 236 kB / 405.6 MB, free: 7.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.07836, allocations: 0.7684 MB / 406.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.0803, allocations: 1.675 MB / 408 MB, free: 4.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.08239, allocations: 0.9964 MB / 409 MB, free: 3.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005802/0.08819, allocations: 3.929 MB / 412.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.0882, allocations: 0 / 412.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.0882, allocations: 0 / 412.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002415/0.08844, allocations: 0 / 412.9 MB, free: 15.61 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.007282/0.09573, allocations: 4.471 MB / 417.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/0.09579, allocations: 12.03 kB / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/0.1029, allocations: 3.625 MB / 421 MB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.1063, allocations: 1.726 MB / 422.8 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1064, allocations: 185 kB / 422.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/0.107, allocations: 248.2 kB / 423.2 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009884/0.1169, allocations: 5.179 MB / 428.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-05/0.117, allocations: 23.77 kB / 428.4 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/0.1173, allocations: 115.8 kB / 428.5 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/0.1197, allocations: 2.467 MB / 431 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008988/0.1287, allocations: 3.076 MB / 434 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2231/0.3518, allocations: 32.04 MB / 466.1 MB, free: 55.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.3546, allocations: 1.243 MB / 467.3 MB, free: 55.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.3551, allocations: 349.2 kB / 467.7 MB, free: 55.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.3555, allocations: 408.6 kB / 468.1 MB, free: 55.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.3556, allocations: 49.61 kB / 468.1 MB, free: 55.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.931e-06/0.3556, allocations: 0 / 468.1 MB, free: 55.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01/0.3656, allocations: 5.467 MB / 473.6 MB, free: 54.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3656, allocations: 69.62 kB / 473.6 MB, free: 54.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.3679, allocations: 2.464 MB / 476.1 MB, free: 53.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/0.368, allocations: 50.48 kB / 476.2 MB, free: 53.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.3692, allocations: 2.908 MB / 479.1 MB, free: 52.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004639/0.3697, allocations: 0.7668 MB / 479.8 MB, free: 51.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008456/0.3705, allocations: 1.056 MB / 480.9 MB, free: 51.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.3706, allocations: 0.5341 MB / 481.4 MB, free: 51.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/0.3714, allocations: 0.5048 MB / 481.9 MB, free: 51.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.3734, allocations: 4.748 MB / 486.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004246/0.3777, allocations: 5.825 MB / 492.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.705e-05/0.3778, allocations: 27.78 kB / 492.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.006486/0.3843, allocations: 4.075 MB / 496.6 MB, free: 38.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.3843, allocations: 48.94 kB / 496.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/0.3845, allocations: 99.34 kB / 496.8 MB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.3849, allocations: 172.8 kB / 496.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.3874, allocations: 1.08 MB / 498 MB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3887, allocations: 2.035 MB / 0.4883 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.3913, allocations: 250.4 kB / 0.4886 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004591/0.3917, allocations: 296.8 kB / 0.4888 GB, free: 36.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 458 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (601): * Single equations (assignments): 594 * 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.001531/0.3933, allocations: 0.5458 MB / 0.4894 GB, free: 36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.3938, allocations: 288.2 kB / 0.4896 GB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.3957, allocations: 1.355 MB / 0.491 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.3957, allocations: 22.97 kB / 0.491 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3957, allocations: 1.344 kB / 0.491 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3957, allocations: 6.562 kB / 0.491 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.4074, allocations: 4.921 MB / 0.4958 GB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/0.4074, allocations: 9.812 kB / 0.4958 GB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000897/0.4083, allocations: 248 kB / 0.496 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.4085, allocations: 51.78 kB / 0.4961 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.4086, allocations: 45.31 kB / 0.4961 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.4096, allocations: 1.866 MB / 0.498 GB, free: 31.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/0.4097, allocations: 19.47 kB / 0.498 GB, free: 31.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.4129, allocations: 1.943 MB / 0.4999 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.4136, allocations: 229.7 kB / 0.5001 GB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.4139, allocations: 43.09 kB / 0.5001 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.4147, allocations: 73.14 kB / 0.5002 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.4149, allocations: 127.1 kB / 0.5003 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.415, allocations: 67.92 kB / 0.5004 GB, free: 29.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001857/0.4169, allocations: 1.047 MB / 0.5014 GB, free: 29.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4169, allocations: 0 / 0.5014 GB, free: 29.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005551/0.4224, allocations: 0.8351 MB / 0.5022 GB, free: 29.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.0006457/0.4231, allocations: 191.1 kB / 0.5024 GB, free: 28.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003898/0.4269, allocations: 2.365 MB / 0.5047 GB, free: 28.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.427, allocations: 3.219 kB / 0.5047 GB, free: 28.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.4276, allocations: 0.6653 MB / 0.5054 GB, free: 27.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.4288, allocations: 281 kB / 0.5056 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/0.436, allocations: 7.13 MB / 0.5126 GB, free: 23.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/0.4367, allocations: 1.144 MB / 0.5137 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00171/0.4384, allocations: 1.442 MB / 0.5151 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.4387, allocations: 182.6 kB / 0.5153 GB, free: 23.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.444e-06/0.4387, allocations: 0 / 0.5153 GB, free: 23.41 MB / 410.7 MB Notification: Performance of Templates: time 0.0281/0.4668, allocations: 17.41 MB / 0.5323 GB, free: 14.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.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.247026382014155]