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.001246/0.001246, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.004538/0.004538, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 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.921/0.921, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2568/0.2568, allocations: 34.26 MB / 296.1 MB, free: 0.6484 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.493e-06/1.493e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.704e-05, allocations: 2.312 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008095/0.008112, allocations: 11.56 MB / 336.9 MB, free: 12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005616/0.01373, allocations: 3.914 MB / 340.8 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/0.01424, allocations: 67.75 kB / 340.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.01585, allocations: 1.37 MB / 342.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.01765, allocations: 1.82 MB / 344 MB, free: 4.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.01813, allocations: 463 kB / 344.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.02029, allocations: 3.966 MB / 348.4 MB, free: 388 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.02173, allocations: 2.114 MB / 350.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.0229, allocations: 1.843 MB / 352.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.0242, allocations: 1.827 MB / 354.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.02441, allocations: 240 kB / 354.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007877/0.02519, allocations: 0.7956 MB / 355.3 MB, free: 9.508 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009377/0.02613, allocations: 1.675 MB / 356.9 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006012/0.02673, allocations: 0.9964 MB / 357.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.02907, allocations: 3.922 MB / 361.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.02907, allocations: 0 / 361.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02907, allocations: 0 / 361.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.0291, allocations: 0 / 361.9 MB, free: 2.891 MB / 330.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.002799/0.0319, allocations: 3.767 MB / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.03193, allocations: 8.031 kB / 365.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.03535, allocations: 1.386 MB / 367 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.0367, allocations: 1.398 MB / 368.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/0.03679, allocations: 189 kB / 368.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.03708, allocations: 248.2 kB / 368.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/0.04126, allocations: 4.364 MB / 373.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.04131, allocations: 31.77 kB / 373.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.04152, allocations: 115.8 kB / 373.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001716/0.04324, allocations: 2.144 MB / 375.5 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.0465, allocations: 2.485 MB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.06271, allocations: 23.79 MB / 401.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.06506, allocations: 1.19 MB / 403 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.06536, allocations: 247 kB / 403.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.06576, allocations: 404.5 kB / 403.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.06579, allocations: 47.91 kB / 403.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 3.606e-06/0.06579, allocations: 0 / 403.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=191): time 0.007096/0.07289, allocations: 4.302 MB / 407.9 MB, free: 3.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.07292, allocations: 68.72 kB / 408 MB, free: 3.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.07427, allocations: 2.204 MB / 410.2 MB, free: 1.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.07433, allocations: 49.69 kB / 410.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009424/0.07527, allocations: 2.688 MB / 412.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.07559, allocations: 0.7284 MB / 413.7 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006637/0.07625, allocations: 0.9026 MB / 414.6 MB, free: 12.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.07634, allocations: 361.8 kB / 414.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.07714, allocations: 0.5984 MB / 415.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.07897, allocations: 3.337 MB / 418.9 MB, free: 6.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/0.08153, allocations: 4.358 MB / 423.2 MB, free: 1.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/0.08155, allocations: 31.75 kB / 423.3 MB, free: 1.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.002787/0.08434, allocations: 3.183 MB / 426.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.08438, allocations: 48.19 kB / 426.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-05/0.08443, allocations: 107.9 kB / 426.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.0846, allocations: 156.8 kB / 426.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.08625, allocations: 1.107 MB / 427.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000821/0.08707, allocations: 1.476 MB / 429.3 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.08819, allocations: 180 kB / 429.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.0884, allocations: 260 kB / 429.8 MB, free: 10.51 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.0007765/0.08917, allocations: 0.5045 MB / 430.3 MB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.08934, allocations: 171.8 kB / 430.4 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.09034, allocations: 1.04 MB / 431.5 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.09036, allocations: 20 kB / 431.5 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.09036, allocations: 4 kB / 431.5 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.09037, allocations: 7.969 kB / 431.5 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.0942, allocations: 3.978 MB / 435.5 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.09421, allocations: 8 kB / 435.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.09471, allocations: 239.6 kB / 435.7 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.173e-05/0.0948, allocations: 57.59 kB / 435.8 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.09485, allocations: 36 kB / 435.8 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007507/0.0956, allocations: 1.41 MB / 437.2 MB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.09561, allocations: 11.94 kB / 437.2 MB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.09685, allocations: 1.524 MB / 438.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.09701, allocations: 222.3 kB / 439 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.09715, allocations: 39.92 kB / 439 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.09749, allocations: 32.19 kB / 439 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.09762, allocations: 120.6 kB / 439.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-05/0.09768, allocations: 64 kB / 439.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005782/0.09826, allocations: 0.7673 MB / 440 MB, free: 15.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09826, allocations: 0 / 440 MB, free: 15.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001796/0.1001, allocations: 0.8397 MB / 440.8 MB, free: 14.87 MB / 426.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.000271/0.1003, allocations: 176.8 kB / 441 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.102, allocations: 2.003 MB / 443 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.741e-05/0.1021, allocations: 63.94 kB / 443.1 MB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.1026, allocations: 0.5146 MB / 443.6 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.1033, allocations: 268.6 kB / 443.8 MB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.1099, allocations: 7.274 MB / 451.1 MB, free: 4.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/0.1107, allocations: 1.129 MB / 452.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007561/0.1115, allocations: 375.5 kB / 452.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.112, allocations: 413.2 kB / 453 MB, free: 2.422 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.112, allocations: 0 / 453 MB, free: 2.422 MB / 426.7 MB Notification: Performance of Templates: time 0.1592/0.2712, allocations: 18.81 MB / 471.8 MB, free: 118.9 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=240 -s gbode -gbm=radauIIA3 -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","",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.764379493892193]