Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009746/0.0009747, allocations: 101 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 45.16 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.137e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.5616, allocations: 109.5 MB / 0.6114 GB, free: 8.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.5619, allocations: 78.09 kB / 0.6115 GB, free: 8.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3633/0.9252, allocations: 141.3 MB / 0.7495 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.205e-06/0.9252, allocations: 0 / 0.7495 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004485/0.9257, allocations: 144 kB / 0.7496 GB, free: 3.348 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.5838/1.51, allocations: 6.311 MB / 0.7558 GB, free: 107.4 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.51, allocations: 8.719 kB / 0.7558 GB, free: 107.4 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/1.528, allocations: 3.563 MB / 0.7593 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/1.549, allocations: 6.3 MB / 0.7654 GB, free: 106.6 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/1.55, allocations: 248.9 kB / 0.7657 GB, free: 106.6 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/1.554, allocations: 452.6 kB / 0.7661 GB, free: 106.6 MB / 0.5262 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02311/1.577, allocations: 10.74 MB / 0.7766 GB, free: 106.5 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/1.613, allocations: 15.8 MB / 0.792 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008266/1.614, allocations: 94.97 kB / 0.7921 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004247/1.618, allocations: 50.12 kB / 0.7921 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004247/1.622, allocations: 1.826 MB / 0.7939 GB, free: 102.2 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0839/1.706, allocations: 75.15 MB / 0.8673 GB, free: 51.24 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.71, allocations: 3.129 MB / 0.8704 GB, free: 49.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/1.713, allocations: 1.717 MB / 0.8721 GB, free: 48.95 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/1.714, allocations: 1.767 MB / 0.8738 GB, free: 47.38 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/1.714, allocations: 66.56 kB / 0.8738 GB, free: 47.31 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=264): time 5.11e-06/1.714, allocations: 0 / 0.8738 GB, free: 47.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=292): time 0.03662/1.751, allocations: 15.4 MB / 0.8889 GB, free: 40.69 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/1.751, allocations: 159 kB / 0.889 GB, free: 40.54 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007922/1.759, allocations: 4.246 MB / 0.8932 GB, free: 38.04 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005319/1.76, allocations: 25.7 kB / 0.8932 GB, free: 38 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003128/1.763, allocations: 5.007 MB / 0.8981 GB, free: 33.47 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.764, allocations: 1.084 MB / 0.8991 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009027/1.765, allocations: 7.25 kB / 0.8992 GB, free: 32.49 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0007781/1.766, allocations: 0.7003 MB / 0.8998 GB, free: 31.9 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/1.769, allocations: 2.301 MB / 0.9021 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005523/1.775, allocations: 7.937 MB / 0.9098 GB, free: 19.61 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005677/1.781, allocations: 4.24 MB / 0.914 GB, free: 16 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/1.781, allocations: 56 kB / 0.914 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.01762/1.799, allocations: 9.011 MB / 0.9228 GB, free: 7.969 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/1.799, allocations: 97.59 kB / 0.9229 GB, free: 7.875 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003395/1.799, allocations: 204 kB / 0.9231 GB, free: 7.676 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003092/1.799, allocations: 300 kB / 0.9234 GB, free: 7.383 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008509/1.808, allocations: 2.281 MB / 0.9256 GB, free: 5.387 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004073/1.808, allocations: 400.8 kB / 0.926 GB, free: 5.039 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008344/1.817, allocations: 403.1 kB / 0.9264 GB, free: 4.719 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/1.819, allocations: 0.55 MB / 0.9269 GB, free: 4.172 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: 78 (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 (1202): * Single equations (assignments): 1199 * Array equations: 3 * Algorithm blocks: 0 * 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.002792/1.822, allocations: 0.6264 MB / 0.9275 GB, free: 3.551 MB / 0.5262 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005555/1.827, allocations: 2.815 MB / 0.9303 GB, free: 1.02 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.828, allocations: 477.9 kB / 0.9308 GB, free: 0.5469 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008595/1.837, allocations: 2.764 MB / 0.9335 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/1.837, allocations: 28 kB / 0.9335 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/1.837, allocations: 4 kB / 0.9335 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/1.837, allocations: 19.66 kB / 0.9335 GB, free: 15.01 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.864, allocations: 10.5 MB / 0.9437 GB, free: 5.879 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.805e-05/1.864, allocations: 32.94 kB / 0.9438 GB, free: 5.848 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.867, allocations: 0.5147 MB / 0.9443 GB, free: 5.402 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/1.867, allocations: 51.94 kB / 0.9443 GB, free: 5.352 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003425/1.867, allocations: 51.05 kB / 0.9444 GB, free: 5.305 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.928e-05/1.867, allocations: 62.19 kB / 0.9444 GB, free: 5.25 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.601e-05/1.867, allocations: 51.77 kB / 0.9445 GB, free: 5.199 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.878, allocations: 9.415 MB / 0.9537 GB, free: 10.88 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.88, allocations: 0.5178 MB / 0.9542 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/1.881, allocations: 47.22 kB / 0.9542 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/1.885, allocations: 141.3 kB / 0.9544 GB, free: 10.21 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.886, allocations: 268.2 kB / 0.9546 GB, free: 10.01 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003526/1.886, allocations: 119.9 kB / 0.9547 GB, free: 9.898 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007971/1.894, allocations: 2.764 MB / 0.9574 GB, free: 7.512 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.72e-07/1.894, allocations: 0 / 0.9574 GB, free: 7.512 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01052/1.904, allocations: 1.242 MB / 0.9587 GB, free: 6.277 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.3165/2.221, allocations: 16.78 MB / 0.975 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.008926/2.23, allocations: 5.292 MB / 0.9802 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/2.23, allocations: 5 kB / 0.9802 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/2.232, allocations: 1.22 MB / 0.9814 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/2.235, allocations: 0.5571 MB / 0.9819 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/2.268, allocations: 13.79 MB / 0.9954 GB, free: 112 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005411/2.273, allocations: 5.005 MB / 1 GB, free: 111.2 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.006512/2.28, allocations: 2.657 MB / 1.003 GB, free: 111.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003992/2.284, allocations: 3.249 MB / 1.006 GB, free: 111.1 MB / 0.5574 GB Notification: Performance of SimCode: time 1.353e-06/2.284, allocations: 0 / 1.006 GB, free: 111.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/2.422, allocations: 97.47 MB / 1.101 GB, free: 66.64 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001212/2.422, allocations: 125.3 kB / 1.101 GB, free: 66.45 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.336/7.758, allocations: 3.938 kB / 1.101 GB, free: 66.45 MB / 0.5574 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat