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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009348, allocations: 93.89 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 186.3 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 16 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 61.91 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02365/0.1441, allocations: 25.39 MB / 496.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.1575, allocations: 6.558 MB / 0.4916 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005436/0.1629, allocations: 123.7 kB / 0.4917 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00504/0.168, allocations: 1.287 MB / 0.493 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.1816, allocations: 3.916 MB / 0.4968 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.1836, allocations: 359.4 kB / 0.4971 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004595/0.1882, allocations: 1.956 MB / 0.499 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/0.1919, allocations: 2.23 MB / 0.5012 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.1934, allocations: 0.868 MB / 0.5021 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.1951, allocations: 1.23 MB / 0.5033 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004559/0.1956, allocations: 140 kB / 0.5034 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.197, allocations: 0.6436 MB / 0.504 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2346/0.4316, allocations: 1.353 MB / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.4327, allocations: 0.7394 MB / 0.5061 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.4398, allocations: 4.645 MB / 0.5106 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4399, allocations: 0 / 0.5106 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4399, allocations: 0 / 0.5106 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002175/0.4401, allocations: 1.188 kB / 0.5106 GB, free: 13.11 MB / 382.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.009398/0.4495, allocations: 3.379 MB / 0.5139 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.453e-05/0.4496, allocations: 9 kB / 0.5139 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.4639, allocations: 3.736 MB / 0.5176 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006722/0.4707, allocations: 1.99 MB / 0.5195 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.471, allocations: 193.8 kB / 0.5197 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.4729, allocations: 246.5 kB / 0.5199 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/0.4962, allocations: 10.21 MB / 0.5299 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.4964, allocations: 25.56 kB / 0.5299 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.4969, allocations: 121.9 kB / 0.53 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003916/0.5008, allocations: 2.459 MB / 0.5324 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.5204, allocations: 9.391 MB / 0.5416 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05038/0.5709, allocations: 31.76 MB / 0.5726 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/0.5769, allocations: 3.344 MB / 0.5759 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.5781, allocations: 1.307 MB / 0.5772 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5782, allocations: 51.88 kB / 0.5772 GB, free: 4.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 6.402e-06/0.5782, allocations: 0 / 0.5772 GB, free: 4.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.02159/0.5998, allocations: 9.618 MB / 0.5866 GB, free: 10.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5999, allocations: 64.72 kB / 0.5867 GB, free: 10.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004238/0.6041, allocations: 2.709 MB / 0.5893 GB, free: 7.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.6044, allocations: 53.3 kB / 0.5894 GB, free: 7.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.6064, allocations: 2.671 MB / 0.592 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009692/0.6074, allocations: 0.7072 MB / 0.5927 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.6076, allocations: 96 kB / 0.5928 GB, free: 4.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004142/0.6081, allocations: 0.5121 MB / 0.5933 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.6107, allocations: 1.528 MB / 0.5948 GB, free: 1.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/0.6158, allocations: 4.334 MB / 0.599 GB, free: 12.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004461/0.6203, allocations: 2.595 MB / 0.6015 GB, free: 9.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-05/0.6204, allocations: 28 kB / 0.6015 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01139/0.6318, allocations: 5.79 MB / 0.6072 GB, free: 4.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.602e-05/0.6319, allocations: 50.19 kB / 0.6072 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.6321, allocations: 100.1 kB / 0.6073 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.6324, allocations: 196.3 kB / 0.6075 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.6359, allocations: 1.066 MB / 0.6086 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.6375, allocations: 1.694 MB / 0.6102 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.6409, allocations: 206.5 kB / 0.6104 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005874/0.6415, allocations: 292 kB / 0.6107 GB, free: 0.9609 MB / 446.1 MB 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 (592): * Single equations (assignments): 585 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004042/0.6456, allocations: 1.993 MB / 0.6126 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.6461, allocations: 252.7 kB / 0.6129 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.6499, allocations: 2.513 MB / 0.6153 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/0.6499, allocations: 23.95 kB / 0.6154 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.6499, allocations: 8 kB / 0.6154 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.65, allocations: 7.969 kB / 0.6154 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.6643, allocations: 7.942 MB / 0.6231 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.6643, allocations: 16.02 kB / 0.6232 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.6653, allocations: 255.5 kB / 0.6234 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.6655, allocations: 56.83 kB / 0.6234 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/0.6656, allocations: 43.75 kB / 0.6235 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.6669, allocations: 1.53 MB / 0.625 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.6669, allocations: 15.94 kB / 0.625 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005475/0.6724, allocations: 4.793 MB / 0.6297 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/0.6733, allocations: 301.9 kB / 0.63 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.6736, allocations: 39.97 kB / 0.63 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/0.6744, allocations: 63.39 kB / 0.6301 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.6746, allocations: 116.7 kB / 0.6302 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.6748, allocations: 59.98 kB / 0.6302 GB, free: 12.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.6777, allocations: 1.67 MB / 0.6319 GB, free: 10.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.185e-06/0.6777, allocations: 0 / 0.6319 GB, free: 10.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005503/0.6832, allocations: 0.8214 MB / 0.6327 GB, free: 9.73 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/0.6839, allocations: 193 kB / 0.6329 GB, free: 9.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006524/0.6904, allocations: 3.814 MB / 0.6366 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.6905, allocations: 4.938 kB / 0.6366 GB, free: 5.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.6923, allocations: 1.231 MB / 0.6378 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.6942, allocations: 314.6 kB / 0.6381 GB, free: 4.191 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.7134, allocations: 10.16 MB / 0.648 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/0.7173, allocations: 3.214 MB / 0.6511 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004294/0.7216, allocations: 1.71 MB / 0.6528 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.7221, allocations: 187.4 kB / 0.653 GB, free: 4.734 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.7221, allocations: 4 kB / 0.653 GB, free: 4.73 MB / 494.1 MB Notification: Performance of Templates: time 0.05042/0.7726, allocations: 22.24 MB / 0.6747 GB, free: 14.65 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (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) 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches