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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 202.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 222.6 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3153/0.3153, allocations: 43.5 MB / 313.5 MB, free: 8.367 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 75.89 kB / 382 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1286, allocations: 57.79 MB / 439.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2572/0.3859, allocations: 30.05 MB / 469.9 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.4009, allocations: 6.785 MB / 476.7 MB, free: 29.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006055/0.407, allocations: 122.4 kB / 476.8 MB, free: 29.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.4099, allocations: 1.275 MB / 478 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.4141, allocations: 1.676 MB / 479.7 MB, free: 28.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.4151, allocations: 387.8 kB / 480.1 MB, free: 28.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005279/0.4204, allocations: 5.117 MB / 485.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.4237, allocations: 1.997 MB / 487.2 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.4256, allocations: 1.08 MB / 488.3 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.4289, allocations: 1.86 MB / 490.2 MB, free: 25.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008538/0.4297, allocations: 172.3 kB / 490.3 MB, free: 25.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.432, allocations: 0.809 MB / 491.1 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002459/0.4345, allocations: 1.583 MB / 492.7 MB, free: 24.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003647/0.4382, allocations: 1.879 MB / 494.6 MB, free: 23.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009772/0.448, allocations: 5.897 MB / 0.4888 GB, free: 21.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.448, allocations: 0 / 0.4888 GB, free: 21.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.4481, allocations: 0.75 kB / 0.4888 GB, free: 21.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003951/0.4485, allocations: 0 / 0.4888 GB, free: 21.09 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01467/0.4632, allocations: 4.15 MB / 0.4928 GB, free: 18.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.4632, allocations: 10 kB / 0.4928 GB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.474, allocations: 3.072 MB / 0.4958 GB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005311/0.4794, allocations: 1.982 MB / 0.4978 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.4796, allocations: 196.9 kB / 0.4979 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008602/0.4805, allocations: 255.8 kB / 0.4982 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01616/0.4966, allocations: 10.39 MB / 0.5083 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.773e-05/0.4968, allocations: 26.84 kB / 0.5084 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.4972, allocations: 121.1 kB / 0.5085 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/0.5008, allocations: 2.556 MB / 0.511 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.5181, allocations: 9.452 MB / 0.5202 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05622/0.5744, allocations: 32.47 MB / 0.5519 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/0.5806, allocations: 3.377 MB / 0.5552 GB, free: 9.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.5822, allocations: 1.081 MB / 0.5563 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.5834, allocations: 1.301 MB / 0.5575 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.5834, allocations: 59.81 kB / 0.5576 GB, free: 7.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.318e-06/0.5834, allocations: 0 / 0.5576 GB, free: 7.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.0233/0.6067, allocations: 9.772 MB / 0.5671 GB, free: 13.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.6069, allocations: 90.42 kB / 0.5672 GB, free: 13.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.6124, allocations: 2.66 MB / 0.5698 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.6127, allocations: 49.61 kB / 0.5699 GB, free: 10.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002002/0.6147, allocations: 2.751 MB / 0.5726 GB, free: 7.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/0.6155, allocations: 0.7054 MB / 0.5732 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.617, allocations: 0.9844 MB / 0.5742 GB, free: 5.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6171, allocations: 309.1 kB / 0.5745 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.6194, allocations: 1.563 MB / 0.576 GB, free: 3.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/0.6236, allocations: 4.481 MB / 0.5804 GB, free: 14.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008064/0.6317, allocations: 6.695 MB / 0.5869 GB, free: 5.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.602e-05/0.6318, allocations: 35.94 kB / 0.587 GB, free: 5.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01006/0.6419, allocations: 5.944 MB / 0.5928 GB, free: 15.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.642, allocations: 55.92 kB / 0.5928 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.777e-05/0.6421, allocations: 104 kB / 0.5929 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.6425, allocations: 180.8 kB / 0.5931 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.6455, allocations: 1.096 MB / 0.5942 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.6471, allocations: 1.675 MB / 0.5958 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.6496, allocations: 227.9 kB / 0.596 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.65, allocations: 304 kB / 0.5963 GB, free: 12.15 MB / 478.1 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.003331/0.6534, allocations: 2.036 MB / 0.5983 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/0.6538, allocations: 248.7 kB / 0.5985 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.6574, allocations: 2.538 MB / 0.601 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.6574, allocations: 20 kB / 0.601 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6574, allocations: 7.938 kB / 0.6011 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.6575, allocations: 7.969 kB / 0.6011 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.6702, allocations: 8.159 MB / 0.609 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.6702, allocations: 8.969 kB / 0.609 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/0.6712, allocations: 255.6 kB / 0.6093 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001651/0.6714, allocations: 60.77 kB / 0.6093 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.6715, allocations: 43.98 kB / 0.6094 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.6729, allocations: 1.519 MB / 0.6109 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/0.6729, allocations: 19.88 kB / 0.6109 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/0.6782, allocations: 4.05 MB / 0.6148 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.6794, allocations: 0.5017 MB / 0.6153 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.6797, allocations: 32 kB / 0.6154 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.6805, allocations: 67.88 kB / 0.6154 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.6807, allocations: 116.7 kB / 0.6155 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6808, allocations: 75.92 kB / 0.6156 GB, free: 7.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002541/0.6834, allocations: 1.632 MB / 0.6172 GB, free: 6.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6834, allocations: 0 / 0.6172 GB, free: 6.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004267/0.6877, allocations: 0.8163 MB / 0.618 GB, free: 5.387 MB / 494.1 MB 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.0004782/0.6882, allocations: 182.6 kB / 0.6182 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005913/0.6941, allocations: 3.885 MB / 0.622 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.6941, allocations: 8.062 kB / 0.622 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.6958, allocations: 1.237 MB / 0.6232 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.698, allocations: 337 kB / 0.6235 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.7137, allocations: 10.8 MB / 0.6341 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/0.7172, allocations: 3.191 MB / 0.6372 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.1938/0.911, allocations: 1.735 MB / 0.6389 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/0.9118, allocations: 190.7 kB / 0.639 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.9118, allocations: 0 / 0.639 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.04657/0.9584, allocations: 22.54 MB / 0.6611 GB, free: 154.2 MB / 0.4981 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/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