Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000865/0.000865, allocations: 97.89 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 63.24 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5468, allocations: 110.1 MB / 0.6119 GB, free: 8.457 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5471, allocations: 75.91 kB / 0.612 GB, free: 8.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3563/0.9035, allocations: 141.8 MB / 0.7505 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9035, allocations: 0 / 0.7505 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003993/0.9039, allocations: 148 kB / 0.7506 GB, free: 2.34 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.5679/1.472, allocations: 6.427 MB / 0.7569 GB, free: 107.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.472, allocations: 9.094 kB / 0.7569 GB, free: 107.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/1.492, allocations: 3.549 MB / 0.7604 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/1.51, allocations: 6.316 MB / 0.7665 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/1.51, allocations: 250.9 kB / 0.7668 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003246/1.514, allocations: 452.1 kB / 0.7672 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02265/1.536, allocations: 10.75 MB / 0.7777 GB, free: 106.8 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03299/1.569, allocations: 15.81 MB / 0.7931 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.57, allocations: 94.88 kB / 0.7932 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/1.572, allocations: 46.19 kB / 0.7933 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002709/1.574, allocations: 1.826 MB / 0.7951 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07089/1.645, allocations: 75.25 MB / 0.8685 GB, free: 51.38 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/1.649, allocations: 3.146 MB / 0.8716 GB, free: 49.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/1.651, allocations: 1.724 MB / 0.8733 GB, free: 49.08 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.652, allocations: 1.767 MB / 0.875 GB, free: 47.5 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002176/1.655, allocations: 1.866 MB / 0.8768 GB, free: 46.86 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=267): time 5.67e-06/1.655, allocations: 0 / 0.8768 GB, free: 46.86 MB / 0.5262 GB Notification: Performance of matching and sorting (n=295): time 0.03128/1.686, allocations: 15.47 MB / 0.892 GB, free: 39.96 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.686, allocations: 161.7 kB / 0.8921 GB, free: 39.78 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/1.692, allocations: 4.265 MB / 0.8963 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000385/1.692, allocations: 29.7 kB / 0.8963 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003025/1.695, allocations: 5.105 MB / 0.9013 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008912/1.696, allocations: 1.105 MB / 0.9024 GB, free: 30.39 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/1.696, allocations: 2.438 kB / 0.9024 GB, free: 30.39 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003474/1.697, allocations: 0.703 MB / 0.9031 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/1.699, allocations: 2.314 MB / 0.9053 GB, free: 27.71 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/1.704, allocations: 7.961 MB / 0.9131 GB, free: 17.46 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/1.709, allocations: 4.253 MB / 0.9172 GB, free: 13.85 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.709, allocations: 56 kB / 0.9173 GB, free: 13.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01533/1.725, allocations: 9.04 MB / 0.9261 GB, free: 5.789 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.725, allocations: 121.7 kB / 0.9262 GB, free: 5.664 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.725, allocations: 204 kB / 0.9264 GB, free: 5.465 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/1.725, allocations: 296 kB / 0.9267 GB, free: 5.176 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006905/1.732, allocations: 2.306 MB / 0.929 GB, free: 3.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002754/1.732, allocations: 399.2 kB / 0.9293 GB, free: 2.812 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006476/1.739, allocations: 424.5 kB / 0.9298 GB, free: 2.477 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.74, allocations: 0.5544 MB / 0.9303 GB, free: 1.926 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1206): * Single equations (assignments): 1202 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001827/1.742, allocations: 0.6158 MB / 0.9309 GB, free: 1.309 MB / 0.5262 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004386/1.746, allocations: 2.852 MB / 0.9337 GB, free: 14.74 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007555/1.747, allocations: 477.7 kB / 0.9341 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004564/1.752, allocations: 2.533 MB / 0.9366 GB, free: 12.13 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/1.752, allocations: 35.94 kB / 0.9366 GB, free: 12.09 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.752, allocations: 4 kB / 0.9366 GB, free: 12.09 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/1.752, allocations: 14.39 kB / 0.9367 GB, free: 12.09 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.772, allocations: 10.79 MB / 0.9472 GB, free: 2.727 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/1.772, allocations: 29 kB / 0.9472 GB, free: 2.699 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/1.774, allocations: 0.5372 MB / 0.9477 GB, free: 2.238 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.998e-05/1.774, allocations: 48 kB / 0.9478 GB, free: 2.191 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/1.774, allocations: 50.81 kB / 0.9478 GB, free: 2.145 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.552e-05/1.774, allocations: 67.41 kB / 0.9479 GB, free: 2.086 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.087e-05/1.774, allocations: 51.75 kB / 0.948 GB, free: 2.035 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007844/1.782, allocations: 9.315 MB / 0.9571 GB, free: 7.816 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.783, allocations: 0.5239 MB / 0.9576 GB, free: 7.285 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.784, allocations: 47.78 kB / 0.9576 GB, free: 7.246 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.787, allocations: 162.8 kB / 0.9578 GB, free: 7.133 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/1.787, allocations: 266.4 kB / 0.958 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.787, allocations: 123.6 kB / 0.9581 GB, free: 6.82 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.005136/1.792, allocations: 2.782 MB / 0.9609 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5.92e-07/1.792, allocations: 0 / 0.9609 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.008491/1.801, allocations: 1.256 MB / 0.9621 GB, free: 3.172 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 268 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3978/2.199, allocations: 16.67 MB / 0.9784 GB, free: 115 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.009672/2.208, allocations: 5.363 MB / 0.9836 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.903e-05/2.208, allocations: 5.781 kB / 0.9836 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/2.212, allocations: 1.45 MB / 0.985 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/2.215, allocations: 0.5598 MB / 0.9856 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/2.247, allocations: 13.82 MB / 0.9991 GB, free: 111.3 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00749/2.254, allocations: 5.01 MB / 1.004 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.006789/2.261, allocations: 2.65 MB / 1.007 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004089/2.265, allocations: 3.238 MB / 1.01 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of SimCode: time 8.61e-07/2.265, allocations: 0 / 1.01 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/2.412, allocations: 98.17 MB / 1.106 GB, free: 64.47 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/2.413, allocations: 126.4 kB / 1.106 GB, free: 64.28 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.144/7.557, allocations: 0 / 1.106 GB, free: 64.28 MB / 0.5574 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat does not exist to compare? outputFormat=mat