Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009828/0.0009826, allocations: 98 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3487/0.3487, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.001011, allocations: 67.83 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3914, allocations: 62 MB / 0.5151 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02263/0.4141, allocations: 29.73 MB / 0.5442 GB, free: 16.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.4309, allocations: 6.766 MB / 0.5508 GB, free: 12.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008443/0.4395, allocations: 121.7 kB / 0.5509 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.4439, allocations: 1.269 MB / 0.5521 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.4496, allocations: 1.628 MB / 0.5537 GB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.4508, allocations: 388.1 kB / 0.5541 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007822/0.4587, allocations: 5.074 MB / 0.5591 GB, free: 9.262 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003032/0.4617, allocations: 1.971 MB / 0.561 GB, free: 8.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.4638, allocations: 1.049 MB / 0.562 GB, free: 7.762 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.4667, allocations: 1.841 MB / 0.5638 GB, free: 6.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006075/0.4674, allocations: 169.2 kB / 0.564 GB, free: 6.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.4693, allocations: 0.7874 MB / 0.5647 GB, free: 6.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.4705, allocations: 1.54 MB / 0.5662 GB, free: 5.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001368/0.4719, allocations: 1.836 MB / 0.568 GB, free: 3.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004758/0.4767, allocations: 5.778 MB / 0.5737 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4767, allocations: 0 / 0.5737 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.4767, allocations: 0 / 0.5737 GB, free: 13.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.999e-05/0.4768, allocations: 0 / 0.5737 GB, free: 13.49 MB / 394.7 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.006172/0.483, allocations: 4.05 MB / 0.5776 GB, free: 9.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.483, allocations: 8.031 kB / 0.5776 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4934, allocations: 3.076 MB / 0.5806 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005384/0.4988, allocations: 1.886 MB / 0.5825 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.499, allocations: 193 kB / 0.5827 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006261/0.4996, allocations: 247.8 kB / 0.5829 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.5159, allocations: 10.18 MB / 0.5928 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.758e-05/0.516, allocations: 27.72 kB / 0.5929 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/0.5164, allocations: 119.8 kB / 0.593 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003826/0.5202, allocations: 2.463 MB / 0.5954 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.538, allocations: 9.353 MB / 0.6045 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/0.5828, allocations: 31.67 MB / 0.6355 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.5886, allocations: 3.351 MB / 0.6387 GB, free: 9.258 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.5901, allocations: 1.08 MB / 0.6398 GB, free: 8.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.5912, allocations: 1.299 MB / 0.641 GB, free: 6.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.5912, allocations: 51.88 kB / 0.6411 GB, free: 6.602 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 4.238e-06/0.5912, allocations: 0 / 0.6411 GB, free: 6.602 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.0185/0.6097, allocations: 9.107 MB / 0.65 GB, free: 13.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.6098, allocations: 64.72 kB / 0.6501 GB, free: 13.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.6133, allocations: 2.599 MB / 0.6526 GB, free: 10.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.6134, allocations: 53.7 kB / 0.6526 GB, free: 10.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.615, allocations: 2.67 MB / 0.6552 GB, free: 7.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.6155, allocations: 0.7016 MB / 0.6559 GB, free: 7.215 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.6166, allocations: 0.9685 MB / 0.6569 GB, free: 6.234 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.6167, allocations: 309 kB / 0.6572 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.6188, allocations: 1.555 MB / 0.6587 GB, free: 4.367 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.6225, allocations: 4.379 MB / 0.663 GB, free: 14.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006725/0.6292, allocations: 6.567 MB / 0.6694 GB, free: 6.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.587e-05/0.6293, allocations: 28 kB / 0.6694 GB, free: 6.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008421/0.6378, allocations: 5.855 MB / 0.6751 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.6379, allocations: 48.06 kB / 0.6752 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.563e-05/0.638, allocations: 104 kB / 0.6753 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.6383, allocations: 172.8 kB / 0.6754 GB, free: 404 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2842/0.9225, allocations: 1.069 MB / 0.6765 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.924, allocations: 1.67 MB / 0.6781 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/0.9274, allocations: 216.9 kB / 0.6783 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006298/0.928, allocations: 293.8 kB / 0.6786 GB, free: 124.5 MB / 490.7 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 (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.002866/0.9309, allocations: 1.992 MB / 0.6805 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.9313, allocations: 246.1 kB / 0.6808 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.9344, allocations: 2.535 MB / 0.6833 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-05/0.9345, allocations: 27.59 kB / 0.6833 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9345, allocations: 0.875 kB / 0.6833 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.9345, allocations: 13.48 kB / 0.6833 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.9454, allocations: 7.963 MB / 0.6911 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.9454, allocations: 11.08 kB / 0.6911 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/0.9463, allocations: 248 kB / 0.6913 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.9465, allocations: 59.44 kB / 0.6914 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/0.9466, allocations: 39 kB / 0.6914 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.9476, allocations: 1.509 MB / 0.6929 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.9476, allocations: 18.22 kB / 0.6929 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.9594, allocations: 9.447 MB / 0.7021 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.96, allocations: 295.9 kB / 0.7024 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.9602, allocations: 39.38 kB / 0.7024 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/0.961, allocations: 54.73 kB / 0.7025 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.9612, allocations: 116 kB / 0.7026 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.9614, allocations: 70.3 kB / 0.7027 GB, free: 113.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002976/0.9643, allocations: 1.608 MB / 0.7042 GB, free: 112.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9644, allocations: 0 / 0.7042 GB, free: 112.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00494/0.9693, allocations: 0.9423 MB / 0.7052 GB, free: 112.7 MB / 490.7 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 (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.0004348/0.9697, allocations: 186 kB / 0.7053 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007152/0.9769, allocations: 3.842 MB / 0.7091 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.9769, allocations: 2.156 kB / 0.7091 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.9789, allocations: 1.237 MB / 0.7103 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.9812, allocations: 340.6 kB / 0.7106 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.001, allocations: 11.83 MB / 0.7222 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003578/1.005, allocations: 3.191 MB / 0.7253 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003699/1.008, allocations: 1.707 MB / 0.727 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/1.009, allocations: 183 kB / 0.7271 GB, free: 102.1 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/1.009, allocations: 4.547 kB / 0.7271 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Templates: time 0.04025/1.049, allocations: 23.31 MB / 0.7499 GB, free: 80.83 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches