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.001457/0.001457, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001729/0.001729, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 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 0.9703/0.9703, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.1548/0.1548, allocations: 32.37 MB / 270.7 MB, free: 14.61 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 2.214e-06/2.214e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.609e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1589/0.159, allocations: 11.88 MB / 310.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009115/0.1681, allocations: 3.941 MB / 314.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.1708, allocations: 70.75 kB / 315 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.1738, allocations: 1.408 MB / 316.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.1785, allocations: 1.921 MB / 318.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1796, allocations: 468.6 kB / 318.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004872/0.1844, allocations: 3.996 MB / 322.7 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.187, allocations: 2.278 MB / 325 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00266/0.1896, allocations: 1.929 MB / 326.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.192, allocations: 1.87 MB / 328.8 MB, free: 404 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005612/0.1926, allocations: 248 kB / 329.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.1941, allocations: 0.7839 MB / 329.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.1954, allocations: 1.745 MB / 331.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.1973, allocations: 1.043 MB / 332.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004964/0.2022, allocations: 4.061 MB / 336.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2022, allocations: 0 / 336.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2022, allocations: 0 / 336.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001653/0.2024, allocations: 0 / 336.7 MB, free: 8.492 MB / 298.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.005661/0.208, allocations: 3.896 MB / 340.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2081, allocations: 8.031 kB / 340.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/0.2133, allocations: 1.405 MB / 342 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.2159, allocations: 1.444 MB / 343.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.216, allocations: 197.2 kB / 343.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/0.2164, allocations: 252.2 kB / 343.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007318/0.2238, allocations: 4.448 MB / 348.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.29e-05/0.2238, allocations: 29.77 kB / 348.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/0.2242, allocations: 115.8 kB / 348.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/0.227, allocations: 2.21 MB / 350.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006554/0.2336, allocations: 2.531 MB / 353.2 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02557/0.2591, allocations: 24.45 MB / 377.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.2615, allocations: 1.205 MB / 378.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.2618, allocations: 243.2 kB / 379.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/0.2623, allocations: 416.5 kB / 379.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2623, allocations: 51.88 kB / 379.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=187): time 2.945e-06/0.2623, allocations: 0 / 379.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=193): time 0.008703/0.271, allocations: 4.341 MB / 383.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.271, allocations: 90.42 kB / 384 MB, free: 7.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.273, allocations: 2.265 MB / 386.3 MB, free: 5.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.475e-05/0.2731, allocations: 53.69 kB / 386.3 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.2748, allocations: 2.757 MB / 389.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000725/0.2756, allocations: 0.7401 MB / 389.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008114/0.2764, allocations: 0.9185 MB / 390.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2765, allocations: 365.8 kB / 391.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.2775, allocations: 0.6027 MB / 391.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.2798, allocations: 3.428 MB / 395.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/0.2837, allocations: 4.47 MB / 399.6 MB, free: 5.086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.2839, allocations: 31.94 kB / 399.6 MB, free: 5.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.004259/0.2881, allocations: 3.253 MB / 402.9 MB, free: 1.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2882, allocations: 48 kB / 402.9 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.711e-05/0.2882, allocations: 107.3 kB / 403 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.2885, allocations: 173.5 kB / 403.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.2902, allocations: 1.076 MB / 404.3 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009455/0.2912, allocations: 1.476 MB / 405.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.293, allocations: 188 kB / 405.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/0.2934, allocations: 260 kB / 406.2 MB, free: 14.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (614): * Single equations (assignments): 607 * 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.001142/0.2946, allocations: 0.5124 MB / 406.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.2948, allocations: 171.8 kB / 406.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.2959, allocations: 1.044 MB / 407.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.2959, allocations: 20 kB / 407.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2959, allocations: 8 kB / 407.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2959, allocations: 7.969 kB / 407.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.301, allocations: 4.149 MB / 412.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.301, allocations: 8 kB / 412.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.3016, allocations: 231.6 kB / 412.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001167/0.3017, allocations: 44.77 kB / 412.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.3018, allocations: 43.98 kB / 412.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3028, allocations: 1.422 MB / 413.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.3028, allocations: 11.94 kB / 413.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.3044, allocations: 1.544 MB / 415.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.3049, allocations: 346.2 kB / 415.7 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.3051, allocations: 43.98 kB / 415.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.3055, allocations: 28 kB / 415.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3056, allocations: 136.4 kB / 415.9 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.3057, allocations: 55.98 kB / 416 MB, free: 4.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006925/0.3064, allocations: 0.7885 MB / 416.8 MB, free: 3.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3064, allocations: 4 kB / 416.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002594/0.309, allocations: 0.8827 MB / 417.7 MB, free: 2.34 MB / 378.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.0003365/0.3093, allocations: 187.8 kB / 417.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.3118, allocations: 2.038 MB / 419.9 MB, free: 116 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.79e-05/0.3119, allocations: 63.94 kB / 419.9 MB, free: 48 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.3129, allocations: 0.5233 MB / 420.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009981/0.3139, allocations: 270 kB / 420.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.3243, allocations: 7.455 MB / 428.2 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.3253, allocations: 1.159 MB / 429.3 MB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001256/0.3266, allocations: 387.9 kB / 429.7 MB, free: 6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.3271, allocations: 411.3 kB / 430.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/0.3271, allocations: 0 / 430.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of Templates: time 0.03557/0.3627, allocations: 19.17 MB / 449.3 MB, free: 2.531 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] 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","",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.8380936277098954]