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.001339/0.001339, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.001454/0.001454, allocations: 210 kB / 23.73 MB, free: 4.387 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2273/0.2273, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.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.002151/0.002151, allocations: 71.88 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 65.47 MB / 0.5575 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01444/0.3788, allocations: 10.71 MB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008706/0.3875, allocations: 3.676 MB / 0.5715 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3894, allocations: 71.75 kB / 0.5716 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.3926, allocations: 1.304 MB / 0.5729 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004644/0.3972, allocations: 1.771 MB / 0.5746 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3984, allocations: 423.2 kB / 0.575 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005084/0.4035, allocations: 3.599 MB / 0.5785 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.4066, allocations: 1.828 MB / 0.5803 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.4089, allocations: 1.222 MB / 0.5815 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003979/0.4129, allocations: 1.841 MB / 0.5833 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.414, allocations: 240 kB / 0.5835 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.4162, allocations: 0.7176 MB / 0.5842 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.4185, allocations: 1.597 MB / 0.5858 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.4216, allocations: 1.335 MB / 0.5871 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00916/0.4307, allocations: 6.121 MB / 0.593 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4307, allocations: 0 / 0.593 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4307, allocations: 0 / 0.593 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002361/0.431, allocations: 0 / 0.593 GB, free: 2.746 MB / 430.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.009877/0.4408, allocations: 4.059 MB / 0.597 GB, free: 14.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4409, allocations: 8.031 kB / 0.597 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.4527, allocations: 3.106 MB / 0.6 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006097/0.4588, allocations: 1.865 MB / 0.6019 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.459, allocations: 189 kB / 0.6021 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001371/0.4604, allocations: 247.8 kB / 0.6023 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/0.4823, allocations: 10.17 MB / 0.6122 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.4824, allocations: 39.75 kB / 0.6123 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.4835, allocations: 115.8 kB / 0.6124 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004447/0.4879, allocations: 2.463 MB / 0.6148 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.5084, allocations: 9.341 MB / 0.6239 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05197/0.5604, allocations: 28.64 MB / 0.6519 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006372/0.5667, allocations: 2.336 MB / 0.6542 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.5685, allocations: 0.9899 MB / 0.6551 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009148/0.5695, allocations: 442.6 kB / 0.6555 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.5695, allocations: 43.88 kB / 0.6556 GB, free: 1.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 5.5e-06/0.5695, allocations: 0 / 0.6556 GB, free: 1.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02313/0.5926, allocations: 8.932 MB / 0.6643 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.5927, allocations: 68.72 kB / 0.6644 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.598, allocations: 2.601 MB / 0.6669 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.5982, allocations: 53.69 kB / 0.667 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002581/0.6008, allocations: 2.783 MB / 0.6697 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008327/0.6016, allocations: 0.7363 MB / 0.6704 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/0.6035, allocations: 0.981 MB / 0.6714 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003251/0.6038, allocations: 361.9 kB / 0.6717 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.6066, allocations: 1.548 MB / 0.6732 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/0.6122, allocations: 4.383 MB / 0.6775 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00985/0.6221, allocations: 6.571 MB / 0.6839 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.6222, allocations: 28 kB / 0.6839 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01237/0.6346, allocations: 5.852 MB / 0.6897 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6347, allocations: 51.94 kB / 0.6897 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/0.6349, allocations: 100.9 kB / 0.6898 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.6353, allocations: 172.8 kB / 0.69 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/0.6391, allocations: 1.072 MB / 0.691 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.6415, allocations: 1.666 MB / 0.6926 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/0.6444, allocations: 208 kB / 0.6928 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/0.6452, allocations: 292 kB / 0.6931 GB, free: 7.828 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.004219/0.6494, allocations: 1.997 MB / 0.6951 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/0.65, allocations: 246.3 kB / 0.6953 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.655, allocations: 2.519 MB / 0.6978 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/0.655, allocations: 23.98 kB / 0.6978 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.655, allocations: 4 kB / 0.6978 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.655, allocations: 11.97 kB / 0.6978 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.6685, allocations: 6.517 MB / 0.7042 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.6685, allocations: 12 kB / 0.7042 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6695, allocations: 247.6 kB / 0.7044 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.6697, allocations: 56.83 kB / 0.7045 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/0.6698, allocations: 47.92 kB / 0.7045 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.6715, allocations: 1.508 MB / 0.706 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.6715, allocations: 12.12 kB / 0.706 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.6777, allocations: 4.006 MB / 0.7099 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/0.6785, allocations: 218.3 kB / 0.7101 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.679, allocations: 43.97 kB / 0.7102 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.6799, allocations: 55.95 kB / 0.7102 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.6802, allocations: 124.6 kB / 0.7103 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6803, allocations: 60 kB / 0.7104 GB, free: 5.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002524/0.6828, allocations: 1.477 MB / 0.7118 GB, free: 4.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6828, allocations: 0 / 0.7118 GB, free: 4.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004578/0.6874, allocations: 0.7772 MB / 0.7126 GB, free: 3.41 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.0006917/0.6881, allocations: 182 kB / 0.7128 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007803/0.6959, allocations: 3.72 MB / 0.7164 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/0.6959, allocations: 4 kB / 0.7164 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.6978, allocations: 1.171 MB / 0.7175 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.7001, allocations: 261.4 kB / 0.7178 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.7164, allocations: 8.634 MB / 0.7262 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/0.7203, allocations: 2.579 MB / 0.7287 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003846/0.7241, allocations: 1.704 MB / 0.7304 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.7246, allocations: 171.4 kB / 0.7306 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.7246, allocations: 0 / 0.7306 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of Templates: time 0.3106/1.035, allocations: 19.63 MB / 0.7497 GB, free: 148.8 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/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.78076203353703]