Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001429/0.001429, allocations: 92.33 kB / 20.95 MB, free: 3.586 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.001541/0.001541, allocations: 165.2 kB / 24.27 MB, free: 280 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.483/1.483, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3456/0.3456, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.625e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01469/0.01472, allocations: 10.72 MB / 388 MB, free: 8.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008842/0.02356, allocations: 3.687 MB / 391.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.02492, allocations: 71.75 kB / 391.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.02788, allocations: 1.37 MB / 393.1 MB, free: 3.035 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.03206, allocations: 1.84 MB / 395 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.03323, allocations: 463 kB / 395.4 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005801/0.03903, allocations: 3.97 MB / 399.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.04241, allocations: 2.161 MB / 401.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.04607, allocations: 1.839 MB / 403.4 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.04984, allocations: 1.96 MB / 405.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006871/0.05053, allocations: 244 kB / 405.6 MB, free: 6.512 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.05246, allocations: 0.7839 MB / 406.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.05435, allocations: 1.667 MB / 408.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.05615, allocations: 1 MB / 409.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008885/0.06503, allocations: 6.045 MB / 415.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.06504, allocations: 0 / 415.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.06504, allocations: 0 / 415.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001929/0.06523, allocations: 0 / 415.1 MB, free: 12.98 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.009154/0.07439, allocations: 4.065 MB / 419.2 MB, free: 8.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.07443, allocations: 8.031 kB / 419.2 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.08684, allocations: 3.746 MB / 422.9 MB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/0.09167, allocations: 1.851 MB / 424.8 MB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.09187, allocations: 197 kB / 425 MB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/0.09273, allocations: 244.2 kB / 425.2 MB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.1117, allocations: 10.19 MB / 435.4 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.077e-05/0.1118, allocations: 23.77 kB / 435.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.1121, allocations: 115.8 kB / 435.5 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004678/0.1168, allocations: 2.471 MB / 438 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.179/0.2959, allocations: 9.33 MB / 447.3 MB, free: 93.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/0.3288, allocations: 28.91 MB / 476.2 MB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004783/0.3336, allocations: 2.431 MB / 478.7 MB, free: 75.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3348, allocations: 0.9951 MB / 479.7 MB, free: 74.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/0.3354, allocations: 447.1 kB / 480.1 MB, free: 74.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3355, allocations: 48.22 kB / 480.1 MB, free: 74.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.278e-06/0.3355, allocations: 1.844 kB / 480.1 MB, free: 74.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01895/0.3544, allocations: 9.26 MB / 489.4 MB, free: 71.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.3545, allocations: 66.12 kB / 489.5 MB, free: 71.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004975/0.3595, allocations: 2.683 MB / 492.2 MB, free: 70.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.3597, allocations: 53.02 kB / 492.2 MB, free: 70.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.3615, allocations: 2.77 MB / 495 MB, free: 68.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.3622, allocations: 0.722 MB / 495.7 MB, free: 67.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.3633, allocations: 0.9595 MB / 496.7 MB, free: 67.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3634, allocations: 365.8 kB / 497 MB, free: 67.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.3653, allocations: 1.546 MB / 498.6 MB, free: 66.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.3686, allocations: 4.385 MB / 0.4912 GB, free: 62.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006335/0.3749, allocations: 6.569 MB / 0.4976 GB, free: 56.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.061e-05/0.375, allocations: 31.19 kB / 0.4976 GB, free: 56.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009643/0.3846, allocations: 6.1 MB / 0.5036 GB, free: 51.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.3847, allocations: 48.61 kB / 0.5036 GB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.3848, allocations: 96 kB / 0.5037 GB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003539/0.3852, allocations: 176.4 kB / 0.5039 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.3881, allocations: 1.076 MB / 0.5049 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.3894, allocations: 1.679 MB / 0.5066 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.3926, allocations: 234.9 kB / 0.5068 GB, free: 47.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.393, allocations: 294.5 kB / 0.5071 GB, free: 47.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * 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 (596): * Single equations (assignments): 589 * 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.002663/0.3956, allocations: 1.99 MB / 0.509 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.3961, allocations: 297.9 kB / 0.5093 GB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.3992, allocations: 2.52 MB / 0.5118 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.3992, allocations: 23.05 kB / 0.5118 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3992, allocations: 0 / 0.5118 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3992, allocations: 11.31 kB / 0.5118 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009337/0.4086, allocations: 6.579 MB / 0.5182 GB, free: 37.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.4086, allocations: 16.06 kB / 0.5182 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009315/0.4095, allocations: 248 kB / 0.5185 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.4097, allocations: 60.58 kB / 0.5185 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.4098, allocations: 46.52 kB / 0.5186 GB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009907/0.4108, allocations: 1.503 MB / 0.52 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.4108, allocations: 11.94 kB / 0.52 GB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.415, allocations: 4.043 MB / 0.524 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.4156, allocations: 230.4 kB / 0.5242 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.4159, allocations: 35.94 kB / 0.5242 GB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.4167, allocations: 83.27 kB / 0.5243 GB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.4169, allocations: 116.6 kB / 0.5244 GB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.417, allocations: 67.98 kB / 0.5245 GB, free: 31.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001952/0.4189, allocations: 1.528 MB / 0.526 GB, free: 29.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4189, allocations: 0 / 0.526 GB, free: 29.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004536/0.4235, allocations: 0.8313 MB / 0.5268 GB, free: 28.87 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.0004773/0.4239, allocations: 194.3 kB / 0.527 GB, free: 28.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005042/0.429, allocations: 3.724 MB / 0.5306 GB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.429, allocations: 4 kB / 0.5306 GB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4303, allocations: 1.174 MB / 0.5318 GB, free: 23.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.4322, allocations: 272.2 kB / 0.532 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.4455, allocations: 8.68 MB / 0.5405 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/0.4481, allocations: 2.58 MB / 0.543 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003121/0.4512, allocations: 1.695 MB / 0.5447 GB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.4517, allocations: 188.4 kB / 0.5449 GB, free: 10.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4517, allocations: 3.938 kB / 0.5449 GB, free: 10.16 MB / 410.7 MB Notification: Performance of Templates: time 0.03847/0.4902, allocations: 16.79 MB / 0.5613 GB, free: 9.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.216181781026535]