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.001245/0.001245, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001139/0.001139, allocations: 187 kB / 19.34 MB, free: 3.77 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.414/1.414, allocations: 222.9 MB / 243 MB, free: 15.17 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.2092/0.2092, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.11 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1342, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0124/0.1467, allocations: 12.29 MB / 483 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007447/0.1542, allocations: 3.862 MB / 486.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.1552, allocations: 63.88 kB / 486.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.1576, allocations: 1.319 MB / 488.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.1609, allocations: 1.751 MB / 490 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.1619, allocations: 427.2 kB / 490.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.166, allocations: 3.578 MB / 494 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.169, allocations: 2.013 MB / 496 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.1711, allocations: 1.195 MB / 497.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.1736, allocations: 1.748 MB / 498.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006145/0.1743, allocations: 240 kB / 499.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.1763, allocations: 0.8347 MB / 0.4883 GB, free: 220 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.178, allocations: 1.585 MB / 0.4898 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002322/0.1804, allocations: 1.89 MB / 0.4917 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.1887, allocations: 6.141 MB / 0.4977 GB, free: 6.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1888, allocations: 0 / 0.4977 GB, free: 6.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1888, allocations: 0 / 0.4977 GB, free: 6.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002131/0.189, allocations: 0 / 0.4977 GB, free: 6.559 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.008432/0.1975, allocations: 4.062 MB / 0.5017 GB, free: 2.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.1975, allocations: 8.031 kB / 0.5017 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2397/0.4373, allocations: 3.072 MB / 0.5047 GB, free: 46.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.4421, allocations: 1.93 MB / 0.5065 GB, free: 45.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.4423, allocations: 190.2 kB / 0.5067 GB, free: 45.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008291/0.4432, allocations: 253.8 kB / 0.507 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.4589, allocations: 10.18 MB / 0.5169 GB, free: 41.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/0.459, allocations: 25.44 kB / 0.5169 GB, free: 41.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.4594, allocations: 120.5 kB / 0.517 GB, free: 41.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003556/0.4629, allocations: 2.468 MB / 0.5195 GB, free: 41.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.4773, allocations: 9.348 MB / 0.5286 GB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03421/0.5115, allocations: 31.46 MB / 0.5593 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/0.5165, allocations: 3.35 MB / 0.5626 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.518, allocations: 1.075 MB / 0.5636 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.5191, allocations: 1.309 MB / 0.5649 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5192, allocations: 43.88 kB / 0.5649 GB, free: 12.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 3.777e-06/0.5192, allocations: 4 kB / 0.5649 GB, free: 12.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=191): time 0.01805/0.5372, allocations: 9.1 MB / 0.5738 GB, free: 3.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5373, allocations: 68.72 kB / 0.5739 GB, free: 3.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.5405, allocations: 2.603 MB / 0.5764 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.5406, allocations: 49.7 kB / 0.5765 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.5422, allocations: 2.67 MB / 0.5791 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005631/0.5427, allocations: 0.7015 MB / 0.5798 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.5439, allocations: 0.9646 MB / 0.5807 GB, free: 12.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.544, allocations: 313.1 kB / 0.581 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.5462, allocations: 1.548 MB / 0.5825 GB, free: 10.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.5502, allocations: 4.387 MB / 0.5868 GB, free: 4.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/0.5569, allocations: 6.571 MB / 0.5932 GB, free: 12.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.038e-05/0.557, allocations: 28 kB / 0.5933 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00839/0.5654, allocations: 5.855 MB / 0.599 GB, free: 6.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.5655, allocations: 48 kB / 0.599 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-05/0.5656, allocations: 100 kB / 0.5991 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.5659, allocations: 176.7 kB / 0.5993 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/0.569, allocations: 1.072 MB / 0.6003 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.5707, allocations: 1.793 MB / 0.6021 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.5732, allocations: 200 kB / 0.6023 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/0.5736, allocations: 296 kB / 0.6026 GB, free: 2.801 MB / 430.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 (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.003127/0.5767, allocations: 2.001 MB / 0.6045 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/0.5772, allocations: 248.7 kB / 0.6048 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.5809, allocations: 2.522 MB / 0.6072 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/0.5809, allocations: 27.94 kB / 0.6072 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.581, allocations: 0 / 0.6072 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.581, allocations: 3.984 kB / 0.6072 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.5931, allocations: 7.941 MB / 0.615 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.5932, allocations: 15.94 kB / 0.615 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009578/0.5941, allocations: 243.6 kB / 0.6152 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.5943, allocations: 57.55 kB / 0.6153 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/0.5944, allocations: 47.97 kB / 0.6153 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.5958, allocations: 1.637 MB / 0.6169 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/0.5958, allocations: 15.94 kB / 0.617 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/0.6008, allocations: 4.008 MB / 0.6209 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.6015, allocations: 301.8 kB / 0.6212 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.6017, allocations: 35.98 kB / 0.6212 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/0.6025, allocations: 63.94 kB / 0.6213 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.6027, allocations: 116.7 kB / 0.6214 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.6028, allocations: 63.98 kB / 0.6214 GB, free: 14.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.605, allocations: 1.6 MB / 0.623 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.605, allocations: 0 / 0.623 GB, free: 13.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003244/0.6083, allocations: 0.806 MB / 0.6238 GB, free: 12.52 MB / 462.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 (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.0003826/0.6087, allocations: 177.4 kB / 0.6239 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005527/0.6142, allocations: 3.878 MB / 0.6277 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.6142, allocations: 5.938 kB / 0.6277 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.6159, allocations: 1.235 MB / 0.6289 GB, free: 7.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.6177, allocations: 357.8 kB / 0.6293 GB, free: 6.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.6313, allocations: 8.417 MB / 0.6375 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00396/0.6353, allocations: 3.137 MB / 0.6406 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003673/0.639, allocations: 1.702 MB / 0.6422 GB, free: 9.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006726/0.6397, allocations: 191.4 kB / 0.6424 GB, free: 9.266 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6397, allocations: 0 / 0.6424 GB, free: 9.266 MB / 478.1 MB Notification: Performance of Templates: time 0.04344/0.6831, allocations: 19.32 MB / 0.6613 GB, free: 6.02 MB / 494.1 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches