Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001765/0.001765, allocations: 194 kB / 18.12 MB, free: 5.363 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.411/1.411, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2117/0.2117, allocations: 44.17 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.17 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 60.83 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3313/0.4472, allocations: 86.32 MB / 0.5419 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04645/0.4937, allocations: 16.55 MB / 0.5581 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02344/0.5172, allocations: 365.6 kB / 0.5584 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.5275, allocations: 5.202 MB / 0.5635 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01/0.5376, allocations: 2.413 MB / 0.5659 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.5412, allocations: 1.081 MB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01358/0.5548, allocations: 9.717 MB / 0.5764 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008965/0.5639, allocations: 6.396 MB / 0.5827 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.5689, allocations: 2.371 MB / 0.585 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006674/0.5756, allocations: 3.98 MB / 0.5889 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00215/0.5778, allocations: 460 kB / 0.5893 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.5815, allocations: 1.225 MB / 0.5905 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00416/0.5857, allocations: 3.234 MB / 0.5937 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006243/0.592, allocations: 3.67 MB / 0.5973 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.607, allocations: 10.99 MB / 0.608 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.607, allocations: 0 / 0.608 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.607, allocations: 0 / 0.608 GB, free: 5.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005025/0.6076, allocations: 0 / 0.608 GB, free: 5.762 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02067/0.6282, allocations: 7.837 MB / 0.6156 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.6283, allocations: 12.03 kB / 0.6157 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004153/0.6325, allocations: 1.228 MB / 0.6168 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.6443, allocations: 2.69 MB / 0.6195 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009929/0.6543, allocations: 4.579 MB / 0.6239 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/0.6547, allocations: 443.5 kB / 0.6244 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/0.6575, allocations: 0.5582 MB / 0.6249 GB, free: 4.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04057/0.698, allocations: 20.27 MB / 0.6447 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.6983, allocations: 75.23 kB / 0.6448 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008221/0.6991, allocations: 275.8 kB / 0.645 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004842/0.7039, allocations: 3.33 MB / 0.6483 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05091/0.7549, allocations: 16.29 MB / 0.6642 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5596/1.315, allocations: 65.32 MB / 0.728 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/1.331, allocations: 6.289 MB / 0.7341 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/1.334, allocations: 2.04 MB / 0.7361 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01364/1.348, allocations: 9.134 MB / 0.745 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/1.348, allocations: 59.75 kB / 0.7451 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.05e-06/1.348, allocations: 0 / 0.7451 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.04908/1.397, allocations: 21.3 MB / 0.7659 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/1.397, allocations: 160.5 kB / 0.7661 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006426/1.404, allocations: 5.863 MB / 0.7718 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004058/1.404, allocations: 73.3 kB / 0.7719 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002279/1.406, allocations: 4.958 MB / 0.7767 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007589/1.407, allocations: 1.12 MB / 0.7778 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/1.409, allocations: 1.821 MB / 0.7796 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/1.409, allocations: 303.6 kB / 0.7799 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/1.412, allocations: 2.601 MB / 0.7824 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005159/1.417, allocations: 8.212 MB / 0.7904 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.427, allocations: 11.77 MB / 0.8019 GB, free: 88.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/1.428, allocations: 56 kB / 0.802 GB, free: 88.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.01477/1.442, allocations: 10.51 MB / 0.8122 GB, free: 78.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.443, allocations: 91.94 kB / 0.8123 GB, free: 78.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/1.443, allocations: 203.9 kB / 0.8125 GB, free: 77.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/1.443, allocations: 269.4 kB / 0.8128 GB, free: 77.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005715/1.449, allocations: 2.2 MB / 0.8149 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002562/1.449, allocations: 390.5 kB / 0.8153 GB, free: 75.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005326/1.454, allocations: 447.5 kB / 0.8157 GB, free: 74.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007008/1.455, allocations: 0.539 MB / 0.8162 GB, free: 74.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1180): * Single equations (assignments): 1177 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004185/1.459, allocations: 3.233 MB / 0.8194 GB, free: 70.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009651/1.46, allocations: 0.5244 MB / 0.8199 GB, free: 70.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/1.465, allocations: 2.97 MB / 0.8228 GB, free: 67.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/1.465, allocations: 28 kB / 0.8228 GB, free: 67.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.465, allocations: 4 kB / 0.8228 GB, free: 67.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/1.465, allocations: 11.95 kB / 0.8229 GB, free: 67.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02365/1.489, allocations: 12.44 MB / 0.835 GB, free: 54.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/1.489, allocations: 32 kB / 0.835 GB, free: 54.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.49, allocations: 0.5264 MB / 0.8355 GB, free: 53.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.572e-05/1.491, allocations: 44 kB / 0.8356 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.491, allocations: 96.42 kB / 0.8357 GB, free: 53.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-05/1.491, allocations: 72.72 kB / 0.8358 GB, free: 53.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.459e-05/1.491, allocations: 47.81 kB / 0.8358 GB, free: 53.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006348/1.497, allocations: 5.546 MB / 0.8412 GB, free: 47.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.499, allocations: 0.5839 MB / 0.8418 GB, free: 46.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005616/1.5, allocations: 95.97 kB / 0.8419 GB, free: 46.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.501, allocations: 119.9 kB / 0.842 GB, free: 46.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/1.502, allocations: 279.9 kB / 0.8423 GB, free: 46.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.502, allocations: 120 kB / 0.8424 GB, free: 46.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005012/1.507, allocations: 3.643 MB / 0.8459 GB, free: 42.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/1.507, allocations: 0 / 0.8459 GB, free: 42.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00782/1.515, allocations: 1.45 MB / 0.8473 GB, free: 41.12 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006092/1.521, allocations: 6.272 MB / 0.8535 GB, free: 34.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008811/1.53, allocations: 5.929 MB / 0.8593 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.804e-05/1.53, allocations: 7.938 kB / 0.8593 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/1.532, allocations: 1.346 MB / 0.8606 GB, free: 27.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/1.537, allocations: 0.7509 MB / 0.8613 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3727/1.909, allocations: 85.42 MB / 0.9447 GB, free: 173.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00719/1.917, allocations: 4.884 MB / 0.9495 GB, free: 172.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007598/1.924, allocations: 2.606 MB / 0.952 GB, free: 171.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005601/1.93, allocations: 3.287 MB / 0.9553 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of SimCode: time 2.014e-06/1.93, allocations: 0 / 0.9553 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/2.067, allocations: 98.09 MB / 1.051 GB, free: 82.25 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/2.067, allocations: 197.5 kB / 1.051 GB, free: 81.99 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.785/6.852, allocations: 8 kB / 1.051 GB, free: 81.98 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat