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.001393/0.001393, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001528/0.001528, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.497/1.497, 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.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.2406/0.2406, allocations: 46.95 MB / 360.9 MB, free: 4.141 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.00215/0.00215, allocations: 60.14 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3485, allocations: 66.03 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01432/0.3629, allocations: 10.71 MB / 0.5715 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.372, allocations: 3.68 MB / 0.5751 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.3738, allocations: 67.75 kB / 0.5752 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.3767, allocations: 1.319 MB / 0.5765 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.3812, allocations: 1.763 MB / 0.5782 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3823, allocations: 423.2 kB / 0.5786 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005031/0.3874, allocations: 3.59 MB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.3898, allocations: 1.835 MB / 0.5839 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3918, allocations: 1.214 MB / 0.5851 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.3944, allocations: 1.849 MB / 0.5869 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.3949, allocations: 240 kB / 0.5871 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.3966, allocations: 0.7138 MB / 0.5878 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.3986, allocations: 1.604 MB / 0.5894 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.4002, allocations: 1.335 MB / 0.5907 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.4076, allocations: 6.118 MB / 0.5967 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4076, allocations: 0 / 0.5967 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4076, allocations: 0 / 0.5967 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.4078, allocations: 0 / 0.5967 GB, free: 15.54 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.007349/0.4151, allocations: 4.065 MB / 0.6006 GB, free: 11.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4152, allocations: 8.031 kB / 0.6006 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4259, allocations: 3.098 MB / 0.6037 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/0.4312, allocations: 1.865 MB / 0.6055 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.4314, allocations: 185 kB / 0.6057 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005907/0.432, allocations: 247.8 kB / 0.6059 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.4488, allocations: 10.18 MB / 0.6158 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.069e-05/0.4489, allocations: 31.75 kB / 0.6159 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003388/0.4493, allocations: 115.8 kB / 0.616 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004126/0.4534, allocations: 2.471 MB / 0.6184 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.4724, allocations: 9.333 MB / 0.6275 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/0.5231, allocations: 28.64 MB / 0.6555 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.5295, allocations: 2.337 MB / 0.6578 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.5313, allocations: 0.9938 MB / 0.6587 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009571/0.5322, allocations: 434.6 kB / 0.6592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.819e-05/0.5323, allocations: 55.81 kB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.931e-06/0.5323, allocations: 0 / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02217/0.5545, allocations: 8.928 MB / 0.6679 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.5545, allocations: 64.72 kB / 0.668 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/0.5583, allocations: 2.609 MB / 0.6705 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5584, allocations: 53.7 kB / 0.6706 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002318/0.5607, allocations: 2.787 MB / 0.6733 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007371/0.5614, allocations: 0.7325 MB / 0.674 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.5627, allocations: 0.9771 MB / 0.675 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5629, allocations: 365.7 kB / 0.6753 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.5653, allocations: 1.548 MB / 0.6768 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004721/0.57, allocations: 4.387 MB / 0.6811 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007965/0.578, allocations: 6.563 MB / 0.6875 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.597e-05/0.578, allocations: 32 kB / 0.6876 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009848/0.5879, allocations: 5.844 MB / 0.6933 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.5879, allocations: 51.94 kB / 0.6933 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.5881, allocations: 100 kB / 0.6934 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.5884, allocations: 173.6 kB / 0.6936 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003147/0.5916, allocations: 1.076 MB / 0.6946 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.5935, allocations: 1.67 MB / 0.6963 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.5966, allocations: 204 kB / 0.6965 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/0.5971, allocations: 296 kB / 0.6967 GB, free: 4.621 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.003251/0.6003, allocations: 1.997 MB / 0.6987 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.6007, allocations: 242.3 kB / 0.6989 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.6046, allocations: 2.523 MB / 0.7014 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.6046, allocations: 20 kB / 0.7014 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6046, allocations: 0 / 0.7014 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.6047, allocations: 7.969 kB / 0.7014 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.616, allocations: 6.524 MB / 0.7078 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/0.616, allocations: 11.98 kB / 0.7078 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6171, allocations: 247.6 kB / 0.708 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.6172, allocations: 56.83 kB / 0.7081 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.6173, allocations: 43.98 kB / 0.7081 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.6189, allocations: 1.499 MB / 0.7096 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/0.6189, allocations: 20.06 kB / 0.7096 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.6244, allocations: 4.006 MB / 0.7135 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.625, allocations: 222.4 kB / 0.7137 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.6252, allocations: 35.98 kB / 0.7138 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.626, allocations: 59.94 kB / 0.7138 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.6262, allocations: 124.6 kB / 0.7139 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.6263, allocations: 60 kB / 0.714 GB, free: 2.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002283/0.6286, allocations: 1.469 MB / 0.7154 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6286, allocations: 0 / 0.7154 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004476/0.6331, allocations: 0.7811 MB / 0.7162 GB, free: 220 kB / 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.000383/0.6334, allocations: 174.8 kB / 0.7164 GB, free: 32 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006112/0.6396, allocations: 3.732 MB / 0.72 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.6396, allocations: 3.938 kB / 0.72 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.6413, allocations: 1.17 MB / 0.7212 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.6429, allocations: 265.1 kB / 0.7214 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.6594, allocations: 8.642 MB / 0.7298 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2852/0.9446, allocations: 2.582 MB / 0.7324 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004583/0.9492, allocations: 1.698 MB / 0.734 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.9496, allocations: 178.4 kB / 0.7342 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.9496, allocations: 0 / 0.7342 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.03705/0.9867, allocations: 19.61 MB / 0.7534 GB, free: 143 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: 6.7359569277614355]