Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 105.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3317/0.3317, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 52.09 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1292, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2661/0.3954, allocations: 30.06 MB / 0.5049 GB, free: 36.76 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.4102, allocations: 6.787 MB / 0.5116 GB, free: 36.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005362/0.4156, allocations: 125.2 kB / 0.5117 GB, free: 36.61 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.4181, allocations: 1.275 MB / 0.5129 GB, free: 36.3 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.4227, allocations: 1.669 MB / 0.5146 GB, free: 35.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.4237, allocations: 394.6 kB / 0.5149 GB, free: 35.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005034/0.4287, allocations: 5.14 MB / 0.52 GB, free: 34.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.4309, allocations: 2.002 MB / 0.5219 GB, free: 33.71 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.4322, allocations: 1.079 MB / 0.523 GB, free: 33.35 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.4341, allocations: 1.866 MB / 0.5248 GB, free: 32.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003465/0.4344, allocations: 171.5 kB / 0.525 GB, free: 32.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.436, allocations: 0.7989 MB / 0.5257 GB, free: 32.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.4372, allocations: 1.584 MB / 0.5273 GB, free: 32.19 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.4385, allocations: 1.879 MB / 0.5291 GB, free: 30.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.4441, allocations: 5.899 MB / 0.5349 GB, free: 28.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4441, allocations: 7.188 kB / 0.5349 GB, free: 28.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4441, allocations: 0 / 0.5349 GB, free: 28.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002431/0.4444, allocations: 0 / 0.5349 GB, free: 28.91 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.007346/0.4517, allocations: 4.147 MB / 0.5389 GB, free: 26.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.4518, allocations: 9.406 kB / 0.5389 GB, free: 26.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.4621, allocations: 3.072 MB / 0.5419 GB, free: 26.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004163/0.4663, allocations: 1.975 MB / 0.5439 GB, free: 25.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.4664, allocations: 195.2 kB / 0.5441 GB, free: 25.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.4669, allocations: 257.8 kB / 0.5443 GB, free: 25.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.4817, allocations: 10.39 MB / 0.5544 GB, free: 20.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/0.4819, allocations: 21.44 kB / 0.5545 GB, free: 20.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003277/0.4822, allocations: 119.4 kB / 0.5546 GB, free: 20.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/0.4863, allocations: 2.557 MB / 0.5571 GB, free: 19.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.5014, allocations: 9.459 MB / 0.5663 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/0.5425, allocations: 32.47 MB / 0.598 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005517/0.5481, allocations: 3.382 MB / 0.6013 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.5495, allocations: 1.082 MB / 0.6024 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.5507, allocations: 1.3 MB / 0.6037 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5508, allocations: 55.86 kB / 0.6037 GB, free: 6.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 3.988e-06/0.5508, allocations: 0 / 0.6037 GB, free: 6.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.0211/0.5719, allocations: 9.781 MB / 0.6133 GB, free: 12.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.572, allocations: 90.42 kB / 0.6134 GB, free: 12.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/0.5767, allocations: 2.66 MB / 0.616 GB, free: 9.594 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.5768, allocations: 47.81 kB / 0.616 GB, free: 9.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.5791, allocations: 2.748 MB / 0.6187 GB, free: 6.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/0.5798, allocations: 0.7131 MB / 0.6194 GB, free: 6.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/0.5816, allocations: 0.9832 MB / 0.6203 GB, free: 5.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5817, allocations: 309.1 kB / 0.6206 GB, free: 4.785 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.5841, allocations: 1.563 MB / 0.6222 GB, free: 3.215 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/0.5881, allocations: 4.477 MB / 0.6265 GB, free: 13.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006677/0.5947, allocations: 6.695 MB / 0.6331 GB, free: 5.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.748e-05/0.5948, allocations: 28 kB / 0.6331 GB, free: 5.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009059/0.6039, allocations: 5.955 MB / 0.6389 GB, free: 15.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.604, allocations: 51.94 kB / 0.639 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/0.6042, allocations: 104 kB / 0.6391 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/0.6046, allocations: 180.9 kB / 0.6392 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.6076, allocations: 1.099 MB / 0.6403 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.6093, allocations: 1.682 MB / 0.6419 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.612, allocations: 211.9 kB / 0.6422 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/0.6125, allocations: 303.3 kB / 0.6424 GB, free: 11.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (609): * Single equations (assignments): 602 * 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.003441/0.6159, allocations: 2.028 MB / 0.6444 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005262/0.6165, allocations: 256.7 kB / 0.6447 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.6203, allocations: 2.532 MB / 0.6471 GB, free: 6.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.6203, allocations: 20 kB / 0.6472 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.6203, allocations: 7.938 kB / 0.6472 GB, free: 6.543 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.6203, allocations: 7.969 kB / 0.6472 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.6348, allocations: 8.167 MB / 0.6551 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.6349, allocations: 12 kB / 0.6552 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009955/0.6359, allocations: 251.6 kB / 0.6554 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.6361, allocations: 56.83 kB / 0.6555 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6362, allocations: 42.86 kB / 0.6555 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.6375, allocations: 1.515 MB / 0.657 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/0.6375, allocations: 19.88 kB / 0.657 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/0.6513, allocations: 9.516 MB / 0.6663 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.6527, allocations: 0.5017 MB / 0.6668 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/0.6531, allocations: 43.98 kB / 0.6668 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6543, allocations: 59.08 kB / 0.6669 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.6546, allocations: 124.6 kB / 0.667 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.6547, allocations: 75.86 kB / 0.6671 GB, free: 1.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002962/0.6577, allocations: 1.628 MB / 0.6687 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6577, allocations: 0 / 0.6687 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004497/0.6622, allocations: 0.9672 MB / 0.6696 GB, free: 14.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0005711/0.6628, allocations: 180.9 kB / 0.6698 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006805/0.6696, allocations: 3.894 MB / 0.6736 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6696, allocations: 3.938 kB / 0.6736 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.6713, allocations: 1.237 MB / 0.6748 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6731, allocations: 330.6 kB / 0.6751 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.6918, allocations: 12.12 MB / 0.6869 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004732/0.6966, allocations: 3.258 MB / 0.6901 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004522/0.7011, allocations: 1.738 MB / 0.6918 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007035/0.7018, allocations: 187.4 kB / 0.692 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/0.7019, allocations: 0 / 0.692 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of Templates: time 0.2643/0.9662, allocations: 23.54 MB / 0.715 GB, free: 167.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches