Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 177.9 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 225.7 MB / 243.9 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008206/0.0008207, allocations: 86 kB / 295 MB, free: 9.699 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4251/0.4251, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 8 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4166, allocations: 61.91 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02048/0.4371, allocations: 26.9 MB / 0.539 GB, free: 18.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.4519, allocations: 9.207 MB / 0.548 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005735/0.4577, allocations: 116.5 kB / 0.5481 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.4588, allocations: 435.1 kB / 0.5485 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.4627, allocations: 1.647 MB / 0.5501 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008546/0.4635, allocations: 388.2 kB / 0.5505 GB, free: 10.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005262/0.4688, allocations: 4.992 MB / 0.5554 GB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004963/0.4738, allocations: 2.722 MB / 0.558 GB, free: 7.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.4769, allocations: 1.042 MB / 0.5591 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.4804, allocations: 1.726 MB / 0.5607 GB, free: 6.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008535/0.4812, allocations: 133 kB / 0.5609 GB, free: 6.738 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.4835, allocations: 0.7642 MB / 0.5616 GB, free: 6.547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.4853, allocations: 1.485 MB / 0.5631 GB, free: 6.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.4874, allocations: 1.794 MB / 0.5648 GB, free: 4.777 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009767/0.4972, allocations: 5.663 MB / 0.5703 GB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4972, allocations: 0 / 0.5703 GB, free: 1.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4972, allocations: 0 / 0.5703 GB, free: 1.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.4975, allocations: 0.9062 kB / 0.5703 GB, free: 1.652 MB / 378.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.007986/0.5055, allocations: 3.325 MB / 0.5736 GB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5055, allocations: 8.031 kB / 0.5736 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.5159, allocations: 3.166 MB / 0.5767 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.5214, allocations: 1.921 MB / 0.5786 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.5216, allocations: 185 kB / 0.5787 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/0.5223, allocations: 251.8 kB / 0.579 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.5397, allocations: 10.17 MB / 0.5889 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-05/0.5399, allocations: 31.66 kB / 0.5889 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.5402, allocations: 119.8 kB / 0.5891 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/0.5441, allocations: 2.456 MB / 0.5915 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.5616, allocations: 9.326 MB / 0.6006 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.6093, allocations: 31.69 MB / 0.6315 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006009/0.6153, allocations: 3.347 MB / 0.6348 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.617, allocations: 1.069 MB / 0.6358 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.6182, allocations: 1.307 MB / 0.6371 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.6182, allocations: 47.88 kB / 0.6371 GB, free: 11.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 4.518e-06/0.6183, allocations: 3.938 kB / 0.6371 GB, free: 11.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.02027/0.6385, allocations: 9.076 MB / 0.646 GB, free: 2.645 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.6386, allocations: 68.72 kB / 0.6461 GB, free: 2.562 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004502/0.6431, allocations: 2.584 MB / 0.6486 GB, free: 15.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.6433, allocations: 49.61 kB / 0.6486 GB, free: 15.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.6453, allocations: 2.67 MB / 0.6513 GB, free: 13.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.6461, allocations: 0.6977 MB / 0.6519 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.6464, allocations: 96 kB / 0.652 GB, free: 12.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004109/0.6468, allocations: 0.5205 MB / 0.6525 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.6496, allocations: 1.528 MB / 0.654 GB, free: 10.33 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/0.6542, allocations: 4.371 MB / 0.6583 GB, free: 4.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007539/0.6618, allocations: 6.536 MB / 0.6647 GB, free: 12.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-05/0.6619, allocations: 28 kB / 0.6647 GB, free: 12.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.0108/0.6727, allocations: 5.816 MB / 0.6704 GB, free: 6.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/0.6729, allocations: 48 kB / 0.6704 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/0.6731, allocations: 112 kB / 0.6705 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004017/0.6735, allocations: 176.9 kB / 0.6707 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/0.677, allocations: 1.072 MB / 0.6718 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.6786, allocations: 1.667 MB / 0.6734 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/0.6818, allocations: 219.7 kB / 0.6736 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007693/0.6826, allocations: 295.9 kB / 0.6739 GB, free: 3.055 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.004381/0.687, allocations: 1.993 MB / 0.6758 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.6875, allocations: 240.8 kB / 0.676 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.6918, allocations: 2.518 MB / 0.6785 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.6919, allocations: 27.94 kB / 0.6785 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.6919, allocations: 0 / 0.6785 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.6919, allocations: 11.97 kB / 0.6785 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.708, allocations: 7.945 MB / 0.6863 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/0.7081, allocations: 12.25 kB / 0.6863 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.7092, allocations: 255.6 kB / 0.6866 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.7094, allocations: 56.83 kB / 0.6866 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.7096, allocations: 39.94 kB / 0.6866 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.7111, allocations: 1.511 MB / 0.6881 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.7111, allocations: 15.88 kB / 0.6881 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3076/1.019, allocations: 4.003 MB / 0.692 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009025/1.02, allocations: 300.2 kB / 0.6923 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005635/1.02, allocations: 37.27 kB / 0.6924 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/1.021, allocations: 54.98 kB / 0.6924 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/1.022, allocations: 120.7 kB / 0.6925 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.022, allocations: 67.64 kB / 0.6926 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002954/1.025, allocations: 1.587 MB / 0.6942 GB, free: 143 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/1.025, allocations: 0 / 0.6942 GB, free: 143 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004464/1.029, allocations: 0.8044 MB / 0.6949 GB, free: 143 MB / 0.4948 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.0005445/1.03, allocations: 185 kB / 0.6951 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007069/1.037, allocations: 3.821 MB / 0.6988 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/1.037, allocations: 2.844 kB / 0.6988 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.038, allocations: 1.228 MB / 0.7 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/1.043, allocations: 347.5 kB / 0.7004 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.059, allocations: 10.58 MB / 0.7107 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/1.062, allocations: 3.136 MB / 0.7138 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003949/1.066, allocations: 1.706 MB / 0.7154 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/1.067, allocations: 191.4 kB / 0.7156 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/1.067, allocations: 1.375 kB / 0.7156 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.05467/1.121, allocations: 22.14 MB / 0.7372 GB, free: 130.3 MB / 0.4948 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