Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 219.7 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2321/0.2321, allocations: 46.92 MB / 362 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003424/0.003424, allocations: 83.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3911, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01563/0.4067, allocations: 12.22 MB / 0.5743 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.417, allocations: 3.882 MB / 0.5781 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.4192, allocations: 71.75 kB / 0.5781 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.4222, allocations: 1.347 MB / 0.5794 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.4273, allocations: 1.771 MB / 0.5812 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.4287, allocations: 419.2 kB / 0.5816 GB, free: 488 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005995/0.4347, allocations: 3.605 MB / 0.5851 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.4375, allocations: 1.836 MB / 0.5869 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.4396, allocations: 1.218 MB / 0.5881 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.4426, allocations: 1.919 MB / 0.5899 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006748/0.4433, allocations: 240 kB / 0.5902 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.445, allocations: 0.7215 MB / 0.5909 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.4468, allocations: 1.604 MB / 0.5924 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002179/0.449, allocations: 1.867 MB / 0.5943 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007527/0.4565, allocations: 6.11 MB / 0.6002 GB, free: 13.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4565, allocations: 0 / 0.6002 GB, free: 13.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4565, allocations: 0 / 0.6002 GB, free: 13.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001985/0.4567, allocations: 4 kB / 0.6002 GB, free: 13.27 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.00795/0.4647, allocations: 4.065 MB / 0.6042 GB, free: 9.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4647, allocations: 12.03 kB / 0.6042 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.4751, allocations: 3.098 MB / 0.6072 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.4798, allocations: 1.845 MB / 0.609 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.48, allocations: 189 kB / 0.6092 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007208/0.4807, allocations: 247.8 kB / 0.6095 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.498, allocations: 10.18 MB / 0.6194 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/0.4981, allocations: 31.7 kB / 0.6194 GB, free: 9.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.4985, allocations: 115.8 kB / 0.6195 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003892/0.5024, allocations: 2.467 MB / 0.622 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.5218, allocations: 9.353 MB / 0.6311 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.5734, allocations: 31.26 MB / 0.6616 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006107/0.5795, allocations: 2.342 MB / 0.6639 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.5812, allocations: 0.9939 MB / 0.6649 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008924/0.5821, allocations: 440.4 kB / 0.6653 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.5822, allocations: 51.86 kB / 0.6653 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.688e-06/0.5822, allocations: 0 / 0.6653 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02171/0.6039, allocations: 8.951 MB / 0.6741 GB, free: 220 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.604, allocations: 64.72 kB / 0.6742 GB, free: 144 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.608, allocations: 2.607 MB / 0.6767 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.6082, allocations: 49.7 kB / 0.6767 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.6105, allocations: 2.772 MB / 0.6795 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008529/0.6113, allocations: 0.7402 MB / 0.6802 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.6127, allocations: 0.9693 MB / 0.6811 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6128, allocations: 313.1 kB / 0.6814 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.6155, allocations: 1.552 MB / 0.6829 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005668/0.6212, allocations: 4.383 MB / 0.6872 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009417/0.6306, allocations: 6.567 MB / 0.6936 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.05e-05/0.6307, allocations: 28 kB / 0.6937 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01134/0.642, allocations: 5.868 MB / 0.6994 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.6421, allocations: 48 kB / 0.6994 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.6422, allocations: 100 kB / 0.6995 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.6426, allocations: 172.8 kB / 0.6997 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.646, allocations: 1.076 MB / 0.7007 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.6478, allocations: 1.681 MB / 0.7024 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.6504, allocations: 212.1 kB / 0.7026 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/0.6509, allocations: 292 kB / 0.7029 GB, free: 15.71 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.003289/0.6542, allocations: 1.993 MB / 0.7048 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.6546, allocations: 258.2 kB / 0.7051 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.6589, allocations: 2.537 MB / 0.7075 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.6589, allocations: 23.94 kB / 0.7076 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6589, allocations: 0 / 0.7076 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.659, allocations: 11.97 kB / 0.7076 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.6738, allocations: 7.898 MB / 0.7153 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.6738, allocations: 12 kB / 0.7153 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6749, allocations: 247.6 kB / 0.7155 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.6751, allocations: 53.52 kB / 0.7156 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.6752, allocations: 47.98 kB / 0.7156 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.6768, allocations: 1.523 MB / 0.7171 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/0.6769, allocations: 19.92 kB / 0.7171 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/0.6828, allocations: 4.028 MB / 0.7211 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007401/0.6836, allocations: 234.2 kB / 0.7213 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.6839, allocations: 36 kB / 0.7213 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.6846, allocations: 63.88 kB / 0.7214 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.6849, allocations: 128.6 kB / 0.7215 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.685, allocations: 71.91 kB / 0.7216 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002983/0.688, allocations: 1.599 MB / 0.7231 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.688, allocations: 0 / 0.7231 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003987/0.692, allocations: 0.7812 MB / 0.7239 GB, free: 9.668 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.0004742/0.6925, allocations: 174.8 kB / 0.7241 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006557/0.699, allocations: 3.723 MB / 0.7277 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.699, allocations: 1.938 kB / 0.7277 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.701, allocations: 1.177 MB / 0.7289 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.703, allocations: 341.9 kB / 0.7292 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2802/0.9832, allocations: 8.646 MB / 0.7376 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/0.9865, allocations: 3.133 MB / 0.7407 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002811/0.9893, allocations: 1.71 MB / 0.7424 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.9897, allocations: 187.9 kB / 0.7425 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.9897, allocations: 0 / 0.7425 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04441/1.034, allocations: 24.39 MB / 0.7663 GB, free: 132.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.850664565106854]