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.00175/0.00175, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002006/0.002006, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2505/0.2505, allocations: 46.94 MB / 360.9 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002117/0.002117, allocations: 63.91 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3929, allocations: 66.04 MB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0164/0.4093, allocations: 12.34 MB / 0.5732 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.42, allocations: 3.902 MB / 0.577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.4226, allocations: 67.75 kB / 0.5771 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.4259, allocations: 1.343 MB / 0.5784 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00533/0.4312, allocations: 1.775 MB / 0.5801 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.4325, allocations: 419.2 kB / 0.5805 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006066/0.4385, allocations: 3.601 MB / 0.584 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003683/0.4422, allocations: 1.835 MB / 0.5858 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.4447, allocations: 1.214 MB / 0.587 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.4479, allocations: 1.919 MB / 0.5889 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006085/0.4485, allocations: 240 kB / 0.5891 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.4504, allocations: 0.8425 MB / 0.5899 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.4522, allocations: 1.601 MB / 0.5915 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.4545, allocations: 1.867 MB / 0.5933 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008213/0.4627, allocations: 6.095 MB / 0.5993 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4627, allocations: 0 / 0.5993 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.715e-05/0.4627, allocations: 3.938 kB / 0.5993 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002156/0.4629, allocations: 0 / 0.5993 GB, free: 13.21 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.008783/0.4717, allocations: 4.057 MB / 0.6032 GB, free: 9.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4718, allocations: 11.97 kB / 0.6032 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4825, allocations: 3.106 MB / 0.6063 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/0.4886, allocations: 1.842 MB / 0.6081 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.4888, allocations: 189 kB / 0.6083 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009496/0.4898, allocations: 247.8 kB / 0.6085 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.5121, allocations: 10.17 MB / 0.6184 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.5123, allocations: 31.77 kB / 0.6185 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/0.5134, allocations: 119.8 kB / 0.6186 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004617/0.518, allocations: 2.463 MB / 0.621 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/0.5411, allocations: 9.356 MB / 0.6301 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05963/0.6008, allocations: 31.4 MB / 0.6608 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006867/0.6076, allocations: 2.35 MB / 0.6631 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.6098, allocations: 0.9861 MB / 0.664 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.6108, allocations: 440.5 kB / 0.6645 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.6109, allocations: 47.86 kB / 0.6645 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.579e-06/0.6109, allocations: 0 / 0.6645 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02282/0.6337, allocations: 8.943 MB / 0.6732 GB, free: 44 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.6338, allocations: 68.72 kB / 0.6733 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.6392, allocations: 2.607 MB / 0.6759 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.6394, allocations: 45.7 kB / 0.6759 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002721/0.6421, allocations: 2.776 MB / 0.6786 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009933/0.6431, allocations: 0.7363 MB / 0.6793 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.6449, allocations: 0.9771 MB / 0.6803 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6451, allocations: 309.1 kB / 0.6806 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.6481, allocations: 1.555 MB / 0.6821 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006301/0.6544, allocations: 4.379 MB / 0.6864 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009856/0.6642, allocations: 6.567 MB / 0.6928 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/0.6644, allocations: 28 kB / 0.6928 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01456/0.6789, allocations: 5.872 MB / 0.6985 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.6791, allocations: 48 kB / 0.6986 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002248/0.6793, allocations: 104 kB / 0.6987 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.6797, allocations: 172.8 kB / 0.6989 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/0.6836, allocations: 1.068 MB / 0.6999 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.686, allocations: 1.697 MB / 0.7016 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/0.6898, allocations: 212 kB / 0.7018 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007727/0.6906, allocations: 296 kB / 0.702 GB, free: 15.52 MB / 0.545 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.004966/0.6956, allocations: 1.989 MB / 0.704 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00082/0.6964, allocations: 254.3 kB / 0.7042 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.7015, allocations: 2.53 MB / 0.7067 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.7015, allocations: 20 kB / 0.7067 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.7015, allocations: 0 / 0.7067 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.7015, allocations: 11.91 kB / 0.7067 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.7188, allocations: 7.914 MB / 0.7145 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.7188, allocations: 8 kB / 0.7145 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.72, allocations: 259.5 kB / 0.7147 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.7202, allocations: 53.53 kB / 0.7148 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.7203, allocations: 47.97 kB / 0.7148 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.7223, allocations: 1.53 MB / 0.7163 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.7223, allocations: 11.94 kB / 0.7163 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006836/0.7291, allocations: 4.028 MB / 0.7202 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008866/0.73, allocations: 238.2 kB / 0.7205 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/0.7305, allocations: 35.98 kB / 0.7205 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7316, allocations: 55.94 kB / 0.7206 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.7319, allocations: 128.6 kB / 0.7207 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.732, allocations: 63.98 kB / 0.7207 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0036/0.7356, allocations: 1.599 MB / 0.7223 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7356, allocations: 0 / 0.7223 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005032/0.7406, allocations: 0.7812 MB / 0.7231 GB, free: 9.484 MB / 0.5606 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.0005889/0.7412, allocations: 170.8 kB / 0.7232 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007479/0.7487, allocations: 3.727 MB / 0.7269 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/0.7487, allocations: 4 kB / 0.7269 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.7512, allocations: 1.167 MB / 0.728 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/0.755, allocations: 351.6 kB / 0.7283 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3129/1.068, allocations: 8.646 MB / 0.7368 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/1.071, allocations: 3.133 MB / 0.7398 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003116/1.074, allocations: 1.711 MB / 0.7415 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/1.075, allocations: 185.3 kB / 0.7417 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.075, allocations: 0 / 0.7417 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.04425/1.119, allocations: 24.39 MB / 0.7655 GB, free: 133 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.116203732090071]