Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001837/0.001837, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.002199/0.002199, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 32.8 MB / 294.1 MB, free: 64 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 63.91 kB / 440.6 MB, free: 9.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3162, allocations: 65.44 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.00968/0.3259, allocations: 10.71 MB / 0.5046 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00789/0.3337, allocations: 3.684 MB / 0.5082 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.3354, allocations: 74.78 kB / 0.5083 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.3376, allocations: 1.291 MB / 0.5095 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.3408, allocations: 1.781 MB / 0.5113 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.3416, allocations: 424.3 kB / 0.5117 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003773/0.3454, allocations: 3.593 MB / 0.5152 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.3477, allocations: 1.825 MB / 0.517 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.3496, allocations: 1.217 MB / 0.5182 GB, free: 18.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.3524, allocations: 1.841 MB / 0.52 GB, free: 17.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005577/0.3529, allocations: 239.5 kB / 0.5202 GB, free: 17.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.3548, allocations: 0.7179 MB / 0.5209 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.3566, allocations: 1.609 MB / 0.5225 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.3585, allocations: 1.333 MB / 0.5238 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3688, allocations: 6.122 MB / 0.5297 GB, free: 13.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.3689, allocations: 1.031 kB / 0.5297 GB, free: 13.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3689, allocations: 0 / 0.5297 GB, free: 13.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003383/0.3692, allocations: 0 / 0.5297 GB, free: 13.55 MB / 446.1 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.01095/0.3801, allocations: 4.059 MB / 0.5337 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3802, allocations: 9.438 kB / 0.5337 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.3906, allocations: 3.15 MB / 0.5368 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004969/0.3956, allocations: 1.863 MB / 0.5386 GB, free: 8.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.3957, allocations: 186.2 kB / 0.5388 GB, free: 8.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008548/0.3966, allocations: 251.1 kB / 0.539 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.4117, allocations: 10.18 MB / 0.549 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.273e-05/0.4118, allocations: 35.69 kB / 0.549 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.4121, allocations: 115.8 kB / 0.5491 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004294/0.4164, allocations: 2.467 MB / 0.5515 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.4368, allocations: 9.345 MB / 0.5606 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04859/0.4854, allocations: 28.82 MB / 0.5888 GB, free: 6.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/0.4915, allocations: 2.416 MB / 0.5912 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.4932, allocations: 0.9938 MB / 0.5921 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000916/0.4941, allocations: 434.6 kB / 0.5925 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4942, allocations: 47.88 kB / 0.5926 GB, free: 2.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 7.073e-06/0.4942, allocations: 4 kB / 0.5926 GB, free: 2.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.0218/0.516, allocations: 9.174 MB / 0.6015 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.5161, allocations: 68.72 kB / 0.6016 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/0.5198, allocations: 2.605 MB / 0.6042 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5199, allocations: 49.7 kB / 0.6042 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.522, allocations: 2.787 MB / 0.6069 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007464/0.5228, allocations: 0.7363 MB / 0.6076 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.5241, allocations: 0.9693 MB / 0.6086 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5243, allocations: 361.9 kB / 0.6089 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.5267, allocations: 1.555 MB / 0.6105 GB, free: 388 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004755/0.5315, allocations: 4.391 MB / 0.6147 GB, free: 10.58 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008085/0.5395, allocations: 6.564 MB / 0.6212 GB, free: 2.625 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.813e-05/0.5396, allocations: 28 kB / 0.6212 GB, free: 2.598 MB / 0.5138 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009722/0.5493, allocations: 5.852 MB / 0.6269 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.5494, allocations: 47.94 kB / 0.6269 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.5495, allocations: 100 kB / 0.627 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.5498, allocations: 172.8 kB / 0.6272 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.5532, allocations: 1.072 MB / 0.6282 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.5552, allocations: 1.675 MB / 0.6299 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.5583, allocations: 203.9 kB / 0.6301 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/0.559, allocations: 300 kB / 0.6304 GB, free: 9.07 MB / 0.5294 GB 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.003804/0.5628, allocations: 1.986 MB / 0.6323 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004684/0.5632, allocations: 250.4 kB / 0.6325 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.5676, allocations: 2.523 MB / 0.635 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.5676, allocations: 20 kB / 0.635 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5676, allocations: 4 kB / 0.635 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.5677, allocations: 11.91 kB / 0.635 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.5803, allocations: 6.552 MB / 0.6414 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.5803, allocations: 16.17 kB / 0.6415 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5813, allocations: 251.6 kB / 0.6417 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.5815, allocations: 52.83 kB / 0.6417 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.5816, allocations: 48.05 kB / 0.6418 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.5831, allocations: 1.499 MB / 0.6433 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.5831, allocations: 11.94 kB / 0.6433 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/0.5887, allocations: 4.01 MB / 0.6472 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.5892, allocations: 218.3 kB / 0.6474 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.5894, allocations: 39.98 kB / 0.6474 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.5901, allocations: 56.02 kB / 0.6475 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.5904, allocations: 128.6 kB / 0.6476 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.5905, allocations: 59.98 kB / 0.6477 GB, free: 6.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002278/0.5928, allocations: 1.473 MB / 0.6491 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5928, allocations: 0 / 0.6491 GB, free: 5.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003703/0.5965, allocations: 0.7772 MB / 0.6499 GB, free: 4.621 MB / 0.545 GB 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.0003777/0.5969, allocations: 182.7 kB / 0.65 GB, free: 4.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005717/0.6026, allocations: 3.717 MB / 0.6537 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6026, allocations: 4.125 kB / 0.6537 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.6044, allocations: 1.17 MB / 0.6548 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6058, allocations: 267.8 kB / 0.6551 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.6212, allocations: 8.637 MB / 0.6635 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/0.625, allocations: 2.595 MB / 0.666 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003712/0.6287, allocations: 1.696 MB / 0.6677 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.6292, allocations: 180.5 kB / 0.6679 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.6292, allocations: 0 / 0.6679 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of Templates: time 0.04208/0.6712, allocations: 15.78 MB / 0.6833 GB, free: 2.492 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.263509987969883]