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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 103.4 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3361/0.3361, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 51.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3724, allocations: 60.8 MB / 0.5064 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02427/0.3967, allocations: 29.7 MB / 0.5354 GB, free: 17.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.4108, allocations: 6.751 MB / 0.542 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006783/0.4176, allocations: 117.6 kB / 0.5421 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.4208, allocations: 1.272 MB / 0.5433 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.4254, allocations: 1.649 MB / 0.545 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.4263, allocations: 386.4 kB / 0.5453 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004992/0.4313, allocations: 5.014 MB / 0.5502 GB, free: 9.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/0.4347, allocations: 1.977 MB / 0.5521 GB, free: 9.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.4373, allocations: 1.046 MB / 0.5532 GB, free: 8.824 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.441, allocations: 1.833 MB / 0.555 GB, free: 8.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007872/0.4418, allocations: 169.4 kB / 0.5551 GB, free: 8.238 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.444, allocations: 0.8144 MB / 0.5559 GB, free: 8.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.4459, allocations: 1.541 MB / 0.5574 GB, free: 7.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.4486, allocations: 1.835 MB / 0.5592 GB, free: 6.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4588, allocations: 5.791 MB / 0.5649 GB, free: 3.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.4589, allocations: 0.9375 kB / 0.5649 GB, free: 3.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4589, allocations: 0 / 0.5649 GB, free: 3.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.4592, allocations: 0 / 0.5649 GB, free: 3.215 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.0106/0.4698, allocations: 4.071 MB / 0.5688 GB, free: 15.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.4699, allocations: 8.031 kB / 0.5689 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.481, allocations: 3.072 MB / 0.5719 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/0.4869, allocations: 1.913 MB / 0.5737 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.4872, allocations: 185 kB / 0.5739 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.4886, allocations: 251.8 kB / 0.5741 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.5091, allocations: 10.18 MB / 0.5841 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.5094, allocations: 27.72 kB / 0.5841 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/0.5107, allocations: 115.8 kB / 0.5842 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006195/0.5169, allocations: 2.471 MB / 0.5866 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.5446, allocations: 9.347 MB / 0.5958 GB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06934/0.614, allocations: 31.67 MB / 0.6267 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009065/0.6232, allocations: 3.352 MB / 0.63 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.6256, allocations: 1.07 MB / 0.631 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.6273, allocations: 1.31 MB / 0.6323 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.6274, allocations: 43.88 kB / 0.6323 GB, free: 13.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 7.424e-06/0.6274, allocations: 0 / 0.6323 GB, free: 13.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.02907/0.6564, allocations: 9.099 MB / 0.6412 GB, free: 3.965 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.6565, allocations: 72.72 kB / 0.6413 GB, free: 3.879 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.66, allocations: 2.607 MB / 0.6438 GB, free: 1.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.6601, allocations: 49.69 kB / 0.6439 GB, free: 1.195 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.6617, allocations: 2.67 MB / 0.6465 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/0.6625, allocations: 0.7016 MB / 0.6472 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.6637, allocations: 0.9646 MB / 0.6481 GB, free: 12.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.6638, allocations: 313.1 kB / 0.6484 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.666, allocations: 1.555 MB / 0.6499 GB, free: 10.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/0.6698, allocations: 4.383 MB / 0.6542 GB, free: 5.133 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/0.6767, allocations: 6.567 MB / 0.6606 GB, free: 13.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.325e-05/0.6768, allocations: 28 kB / 0.6606 GB, free: 13.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008922/0.6857, allocations: 5.862 MB / 0.6664 GB, free: 7.266 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.6858, allocations: 48 kB / 0.6664 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.574e-05/0.6859, allocations: 100 kB / 0.6665 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.6862, allocations: 172.8 kB / 0.6667 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.6893, allocations: 1.072 MB / 0.6677 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.6907, allocations: 1.678 MB / 0.6694 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.6935, allocations: 207.9 kB / 0.6696 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004488/0.6939, allocations: 296 kB / 0.6698 GB, free: 3.574 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.003324/0.6973, allocations: 1.994 MB / 0.6718 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.6977, allocations: 252.7 kB / 0.672 GB, free: 1.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.7014, allocations: 2.522 MB / 0.6745 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.7014, allocations: 35.91 kB / 0.6745 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7014, allocations: 0 / 0.6745 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7014, allocations: 3.984 kB / 0.6745 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.7135, allocations: 7.957 MB / 0.6823 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.7135, allocations: 12 kB / 0.6823 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.7145, allocations: 251.5 kB / 0.6826 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.7147, allocations: 52.83 kB / 0.6826 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.379e-05/0.7148, allocations: 43.97 kB / 0.6826 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.716, allocations: 1.515 MB / 0.6841 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.716, allocations: 15.88 kB / 0.6841 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2691/0.9851, allocations: 9.437 MB / 0.6934 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.9858, allocations: 302.1 kB / 0.6936 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.9861, allocations: 37.3 kB / 0.6937 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/0.9869, allocations: 58.92 kB / 0.6937 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.9872, allocations: 125.4 kB / 0.6939 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.9873, allocations: 62.12 kB / 0.6939 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002357/0.9897, allocations: 1.605 MB / 0.6955 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9897, allocations: 0.7188 kB / 0.6955 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00444/0.9941, allocations: 0.9401 MB / 0.6964 GB, free: 141.5 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.0004778/0.9946, allocations: 182.4 kB / 0.6966 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005286/0.9999, allocations: 3.851 MB / 0.7003 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.9999, allocations: 0 / 0.7003 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.001, allocations: 1.233 MB / 0.7015 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.004, allocations: 325.5 kB / 0.7019 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.021, allocations: 11.83 MB / 0.7134 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004651/1.026, allocations: 3.192 MB / 0.7165 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004447/1.03, allocations: 1.705 MB / 0.7182 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/1.031, allocations: 186.8 kB / 0.7184 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/1.031, allocations: 0 / 0.7184 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0516/1.083, allocations: 23.32 MB / 0.7411 GB, free: 124.9 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@2/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