Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.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) 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(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_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.002051/0.002051, allocations: 202.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.643/1.643, 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.001459/0.001459, allocations: 89.81 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.344e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5928, allocations: 77.43 MB / 472.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5931, allocations: 66.78 kB / 472.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.6048, allocations: 4.24 MB / 477 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6049, allocations: 0 / 477 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.6049, allocations: 4 kB / 477 MB, free: 11.38 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008018/0.6057, allocations: 491.1 kB / 477.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6058, allocations: 8.031 kB / 477.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.6059, allocations: 35.05 kB / 477.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.6062, allocations: 228 kB / 477.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.6063, allocations: 12 kB / 477.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.6063, allocations: 12 kB / 477.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003304/0.6067, allocations: 142.7 kB / 477.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.607, allocations: 198.4 kB / 478.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.6071, allocations: 9.312 kB / 478.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.6071, allocations: 0 / 478.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6071, allocations: 4 kB / 478.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.6082, allocations: 0.7492 MB / 478.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.6087, allocations: 261.4 kB / 479.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.609, allocations: 117.5 kB / 479.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.609, allocations: 11.22 kB / 479.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.609, allocations: 42.95 kB / 479.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.6091, allocations: 0 / 479.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002151/0.6112, allocations: 1.742 MB / 481 MB, free: 7.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.6113, allocations: 106.8 kB / 481.1 MB, free: 7.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6114, allocations: 144.9 kB / 481.3 MB, free: 7.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.6114, allocations: 25.7 kB / 481.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.6115, allocations: 150.2 kB / 481.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.6116, allocations: 152.2 kB / 481.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.6116, allocations: 0 / 481.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.6117, allocations: 333.2 kB / 481.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.6119, allocations: 77 kB / 482 MB, free: 6.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.612, allocations: 143.3 kB / 482.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.6122, allocations: 104.9 kB / 482.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6122, allocations: 0 / 482.2 MB, free: 6.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004343/0.6126, allocations: 292.7 kB / 482.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6127, allocations: 5.312 kB / 482.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6127, allocations: 8.094 kB / 482.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.6127, allocations: 5.781 kB / 482.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.613, allocations: 90.58 kB / 482.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6131, allocations: 5.359 kB / 482.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.6132, allocations: 4 kB / 482.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.6132, allocations: 15.06 kB / 482.7 MB, free: 6.289 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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 8.337e-05/0.6133, allocations: 112.9 kB / 482.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003758/0.6137, allocations: 258.9 kB / 483 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.6138, allocations: 32.59 kB / 483.1 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.6139, allocations: 31.22 kB / 483.1 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6139, allocations: 4 kB / 483.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6139, allocations: 0 / 483.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6139, allocations: 7 kB / 483.1 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6151, allocations: 0.969 MB / 484.1 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6151, allocations: 1.781 kB / 484.1 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.6155, allocations: 93.25 kB / 484.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.6155, allocations: 5.5 kB / 484.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.6155, allocations: 7.25 kB / 484.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.6155, allocations: 11.94 kB / 484.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6156, allocations: 1.5 kB / 484.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.6162, allocations: 0.8032 MB / 485 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.6163, allocations: 102.3 kB / 485.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.6163, allocations: 9.453 kB / 485.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.6165, allocations: 0 / 485.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.6166, allocations: 36.28 kB / 485.1 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.6166, allocations: 16 kB / 485.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.6167, allocations: 113.3 kB / 485.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6167, allocations: 0 / 485.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004234/0.6171, allocations: 60 kB / 485.3 MB, free: 3.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * 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.0009903/0.6181, allocations: 2.097 MB / 487.4 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.6185, allocations: 236.5 kB / 487.6 MB, free: 1.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6185, allocations: 0 / 487.6 MB, free: 1.734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.6187, allocations: 120.2 kB / 487.8 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.6192, allocations: 60.48 kB / 487.8 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.6206, allocations: 0.8107 MB / 488.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.6209, allocations: 0.7779 MB / 489.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.621, allocations: 35.27 kB / 489.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6212, allocations: 88.55 kB / 489.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6212, allocations: 0 / 489.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.6492, allocations: 4.778 MB / 494.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.6495, allocations: 137.5 kB / 494.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.544, allocations: 0 / 494.4 MB, free: 11.05 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat