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.001366/0.001366, allocations: 81.86 kB / 21.42 MB, free: 3.07 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.001869/0.001869, allocations: 168.8 kB / 24.82 MB, free: 8.395 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.9768/0.9768, allocations: 177.2 MB / 205.3 MB, free: 5.125 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.3258/0.3258, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.413e-06/1.413e-06, allocations: 3.938 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.701e-05, allocations: 6.312 kB / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009564/0.009591, allocations: 11.5 MB / 390 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.0164, allocations: 3.769 MB / 393.8 MB, free: 3.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.01808, allocations: 71.75 kB / 393.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.02016, allocations: 1.378 MB / 395.2 MB, free: 1.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.02363, allocations: 1.84 MB / 397.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.02443, allocations: 462.9 kB / 397.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004427/0.02886, allocations: 3.967 MB / 401.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.03219, allocations: 2.161 MB / 403.6 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.03553, allocations: 1.874 MB / 405.5 MB, free: 7.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.03871, allocations: 1.937 MB / 407.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007258/0.03943, allocations: 244 kB / 407.7 MB, free: 5.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.0408, allocations: 0.7684 MB / 408.5 MB, free: 4.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.04218, allocations: 1.675 MB / 410.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.04388, allocations: 0.9925 MB / 411.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005476/0.04936, allocations: 3.926 MB / 415.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.04937, allocations: 0 / 415.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.04937, allocations: 0 / 415.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002686/0.04964, allocations: 0 / 415.1 MB, free: 13.68 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.006689/0.05633, allocations: 4.353 MB / 419.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.05638, allocations: 8.031 kB / 419.4 MB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.06122, allocations: 1.84 MB / 421.3 MB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.06342, allocations: 1.542 MB / 422.8 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.06354, allocations: 189 kB / 423 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.06396, allocations: 244.2 kB / 423.2 MB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006995/0.07096, allocations: 4.697 MB / 427.9 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.07101, allocations: 23.77 kB / 427.9 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.07127, allocations: 115.9 kB / 428.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001901/0.07317, allocations: 2.136 MB / 430.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005823/0.07899, allocations: 2.457 MB / 432.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2156/0.2946, allocations: 31.61 MB / 464.3 MB, free: 68.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.2969, allocations: 1.159 MB / 465.4 MB, free: 68.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.2972, allocations: 302.9 kB / 465.7 MB, free: 68.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.2977, allocations: 406.5 kB / 466.1 MB, free: 68.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2977, allocations: 58.66 kB / 466.2 MB, free: 68.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.088e-06/0.2977, allocations: 0 / 466.2 MB, free: 68.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.00817/0.3059, allocations: 4.679 MB / 470.8 MB, free: 67.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.3059, allocations: 75.91 kB / 470.9 MB, free: 67.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3078, allocations: 2.464 MB / 473.4 MB, free: 66.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.3079, allocations: 51.58 kB / 473.4 MB, free: 66.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.3089, allocations: 2.927 MB / 476.4 MB, free: 65.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.3093, allocations: 0.7675 MB / 477.1 MB, free: 64.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007704/0.3101, allocations: 1.073 MB / 478.2 MB, free: 64.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.3102, allocations: 0.5419 MB / 478.7 MB, free: 64.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.3109, allocations: 462.5 kB / 479.2 MB, free: 64.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.3128, allocations: 4.718 MB / 483.9 MB, free: 58.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/0.316, allocations: 5.675 MB / 489.6 MB, free: 52.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.832e-05/0.316, allocations: 32.41 kB / 489.6 MB, free: 52.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004248/0.3203, allocations: 3.782 MB / 493.4 MB, free: 51.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.3203, allocations: 49.5 kB / 493.5 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.91e-05/0.3204, allocations: 98.84 kB / 493.6 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.3207, allocations: 181 kB / 493.7 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.3223, allocations: 1.05 MB / 494.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.3233, allocations: 2.011 MB / 496.8 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.3254, allocations: 179 kB / 497 MB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/0.3257, allocations: 263.8 kB / 497.2 MB, free: 49.18 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.001226/0.3269, allocations: 0.5472 MB / 497.8 MB, free: 48.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/0.3274, allocations: 293.9 kB / 498.1 MB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.329, allocations: 1.264 MB / 499.3 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.329, allocations: 20.06 kB / 499.3 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.329, allocations: 1.25 kB / 499.3 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.329, allocations: 7.75 kB / 499.3 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007875/0.3369, allocations: 4.76 MB / 0.4923 GB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.3369, allocations: 10.81 kB / 0.4923 GB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.3375, allocations: 224.6 kB / 0.4925 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.3376, allocations: 52.73 kB / 0.4926 GB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.3377, allocations: 44.83 kB / 0.4926 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000763/0.3385, allocations: 1.835 MB / 0.4944 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.3385, allocations: 15.59 kB / 0.4944 GB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.3406, allocations: 1.807 MB / 0.4962 GB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.3409, allocations: 230 kB / 0.4964 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.3411, allocations: 33.91 kB / 0.4964 GB, free: 42.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.3415, allocations: 41.84 kB / 0.4965 GB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3417, allocations: 121.8 kB / 0.4966 GB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.3417, allocations: 52.72 kB / 0.4966 GB, free: 42.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009898/0.3427, allocations: 0.9836 MB / 0.4976 GB, free: 41.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3427, allocations: 0 / 0.4976 GB, free: 41.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003164/0.3459, allocations: 0.8349 MB / 0.4984 GB, free: 41.89 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.0003601/0.3462, allocations: 191.8 kB / 0.4986 GB, free: 41.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.349, allocations: 2.223 MB / 0.5008 GB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.349, allocations: 4.25 kB / 0.5008 GB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.3496, allocations: 0.6348 MB / 0.5014 GB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.3507, allocations: 273.3 kB / 0.5017 GB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009081/0.3597, allocations: 7.09 MB / 0.5086 GB, free: 36.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.3607, allocations: 1.142 MB / 0.5097 GB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009506/0.3616, allocations: 380 kB / 0.5101 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/0.3621, allocations: 442 kB / 0.5105 GB, free: 36.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.3621, allocations: 0 / 0.5105 GB, free: 36.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03509/0.3972, allocations: 18.9 MB / 0.5289 GB, free: 22.99 MB / 410.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 -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: 4.1924127312377095]