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.002569/0.002569, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003109/0.003109, allocations: 169.3 kB / 24.28 MB, free: 152 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3466/0.3466, allocations: 34.26 MB / 295.3 MB, free: 0.7031 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.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.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.286e-05, allocations: 6.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01679/0.01682, allocations: 11.73 MB / 389 MB, free: 7.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009212/0.02604, allocations: 3.785 MB / 392.8 MB, free: 3.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.02751, allocations: 67.75 kB / 392.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.03066, allocations: 1.401 MB / 394.3 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.03498, allocations: 1.832 MB / 396.1 MB, free: 76 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.03609, allocations: 467 kB / 396.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005591/0.04168, allocations: 3.973 MB / 400.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.04458, allocations: 2.153 MB / 402.7 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.04736, allocations: 1.847 MB / 404.5 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.05043, allocations: 1.964 MB / 406.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004523/0.05088, allocations: 240 kB / 406.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.05245, allocations: 0.78 MB / 407.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.05416, allocations: 1.687 MB / 409.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.05555, allocations: 1 MB / 410.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007452/0.063, allocations: 6.05 MB / 416.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.06301, allocations: 0 / 416.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.06301, allocations: 0 / 416.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.06312, allocations: 3.938 kB / 416.3 MB, free: 11.84 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.009412/0.07254, allocations: 4.869 MB / 421.1 MB, free: 6.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.07258, allocations: 12.03 kB / 421.1 MB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.08474, allocations: 3.621 MB / 424.8 MB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/0.09024, allocations: 1.721 MB / 426.5 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.09043, allocations: 193 kB / 426.7 MB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/0.09113, allocations: 240.2 kB / 426.9 MB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.1023, allocations: 5.568 MB / 432.5 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-05/0.1024, allocations: 27.75 kB / 432.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.1027, allocations: 115.8 kB / 432.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004464/0.1072, allocations: 2.471 MB / 435.1 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.1177, allocations: 3.578 MB / 438.7 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2175/0.3353, allocations: 40.17 MB / 478.8 MB, free: 66.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/0.3391, allocations: 1.295 MB / 480.1 MB, free: 66.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.3399, allocations: 376.8 kB / 480.5 MB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.3406, allocations: 407.5 kB / 480.9 MB, free: 65.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3406, allocations: 49.05 kB / 480.9 MB, free: 65.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.679e-06/0.3406, allocations: 0 / 480.9 MB, free: 65.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01525/0.3558, allocations: 5.605 MB / 486.5 MB, free: 64.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3559, allocations: 70.92 kB / 486.6 MB, free: 63.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.3598, allocations: 3.048 MB / 489.7 MB, free: 62.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.36, allocations: 47.17 kB / 489.7 MB, free: 62.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.3618, allocations: 3.042 MB / 492.8 MB, free: 60.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000712/0.3625, allocations: 0.8157 MB / 493.6 MB, free: 59.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.364, allocations: 1.224 MB / 494.8 MB, free: 59.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3641, allocations: 0.5627 MB / 495.4 MB, free: 58.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.3654, allocations: 0.5456 MB / 495.9 MB, free: 58.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.3694, allocations: 4.892 MB / 0.4891 GB, free: 52.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/0.3777, allocations: 6.03 MB / 0.4949 GB, free: 46.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/0.3779, allocations: 27.97 kB / 0.495 GB, free: 46.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01323/0.3911, allocations: 4.125 MB / 0.499 GB, free: 44.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.3912, allocations: 46.62 kB / 0.499 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/0.3914, allocations: 99.19 kB / 0.4991 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.3918, allocations: 172 kB / 0.4993 GB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005236/0.3971, allocations: 1.074 MB / 0.5004 GB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.3989, allocations: 2.077 MB / 0.5024 GB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/0.4041, allocations: 235.4 kB / 0.5026 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.4052, allocations: 294.4 kB / 0.5029 GB, free: 42.48 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.003267/0.4085, allocations: 0.6567 MB / 0.5035 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.4095, allocations: 290 kB / 0.5038 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.4137, allocations: 1.481 MB / 0.5053 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/0.4138, allocations: 26.5 kB / 0.5053 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4138, allocations: 0 / 0.5053 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.4138, allocations: 10.69 kB / 0.5053 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.4312, allocations: 6.018 MB / 0.5112 GB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.4312, allocations: 19.5 kB / 0.5112 GB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.4326, allocations: 245.8 kB / 0.5114 GB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.4328, allocations: 57.95 kB / 0.5115 GB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.433, allocations: 43.09 kB / 0.5115 GB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.4343, allocations: 1.893 MB / 0.5134 GB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.4343, allocations: 15.97 kB / 0.5134 GB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.4383, allocations: 2.072 MB / 0.5154 GB, free: 31.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008511/0.4392, allocations: 239.7 kB / 0.5156 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/0.4396, allocations: 39.28 kB / 0.5157 GB, free: 31.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.4409, allocations: 70.78 kB / 0.5157 GB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.4412, allocations: 127.7 kB / 0.5159 GB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.4413, allocations: 63 kB / 0.5159 GB, free: 31.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002403/0.4437, allocations: 1.245 MB / 0.5171 GB, free: 30.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4437, allocations: 0 / 0.5171 GB, free: 30.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004773/0.4485, allocations: 0.8316 MB / 0.5179 GB, free: 29.54 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.0004526/0.4489, allocations: 189.3 kB / 0.5181 GB, free: 29.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004509/0.4535, allocations: 2.568 MB / 0.5206 GB, free: 27.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.4535, allocations: 4 kB / 0.5206 GB, free: 27.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4545, allocations: 0.7417 MB / 0.5214 GB, free: 26.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4565, allocations: 268.2 kB / 0.5216 GB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.4681, allocations: 7.219 MB / 0.5287 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/0.4714, allocations: 2.272 MB / 0.5309 GB, free: 17.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003501/0.4749, allocations: 1.441 MB / 0.5323 GB, free: 16.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.4753, allocations: 185.6 kB / 0.5325 GB, free: 16.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.4753, allocations: 0 / 0.5325 GB, free: 16.61 MB / 410.7 MB Notification: Performance of Templates: time 0.03849/0.5138, allocations: 16.63 MB / 0.5487 GB, free: 2.105 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] 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.503953892970458]