Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00263/0.002631, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 93.5 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004052, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3513, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.5015, allocations: 76.17 MB / 450.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5019, allocations: 63.97 kB / 450.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.527, allocations: 4.156 MB / 455 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5271, allocations: 0 / 455 MB, free: 240 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.182e-05/0.5271, allocations: 8 kB / 455 MB, free: 232 kB / 330.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.001269/0.5284, allocations: 0.4991 MB / 455.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.5285, allocations: 8.031 kB / 455.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.5286, allocations: 58.55 kB / 455.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.5288, allocations: 27.72 kB / 455.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.5292, allocations: 243.2 kB / 455.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.5293, allocations: 16.56 kB / 455.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/0.5294, allocations: 31.89 kB / 455.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.5302, allocations: 231.5 kB / 456.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.5303, allocations: 4 kB / 456.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.5304, allocations: 11.98 kB / 456.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.5304, allocations: 8 kB / 456.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.5311, allocations: 166.2 kB / 456.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.5333, allocations: 0.7933 MB / 457.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5343, allocations: 297.1 kB / 457.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.5344, allocations: 7.953 kB / 457.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.5345, allocations: 43 kB / 457.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 4.779e-06/0.5345, allocations: 0 / 457.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005587/0.5401, allocations: 1.943 MB / 459.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.5402, allocations: 106.8 kB / 459.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.5406, allocations: 178.1 kB / 459.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.5407, allocations: 29.7 kB / 459.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.5409, allocations: 199.2 kB / 459.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.5411, allocations: 165.9 kB / 460.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.5411, allocations: 4 kB / 460.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5414, allocations: 338.7 kB / 460.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.5418, allocations: 92.78 kB / 460.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.5423, allocations: 154.3 kB / 460.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.5427, allocations: 110.6 kB / 460.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/0.5428, allocations: 0 / 460.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001124/0.5439, allocations: 337 kB / 461.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.544, allocations: 8 kB / 461.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.544, allocations: 0 / 461.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.5441, allocations: 4 kB / 461.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.545, allocations: 99.98 kB / 461.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.5451, allocations: 0 / 461.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5454, allocations: 12 kB / 461.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.5454, allocations: 16 kB / 461.2 MB, free: 9.504 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 () * Number of clocked 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 0.0003062/0.5457, allocations: 149.7 kB / 461.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.5459, allocations: 31.62 kB / 461.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.5461, allocations: 37.86 kB / 461.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5461, allocations: 4 kB / 461.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.5461, allocations: 8 kB / 461.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.5462, allocations: 7.984 kB / 461.4 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.5493, allocations: 1.047 MB / 462.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.5493, allocations: 0 / 462.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/0.5503, allocations: 95.83 kB / 462.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/0.5504, allocations: 8.281 kB / 462.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.5505, allocations: 12 kB / 462.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.525e-05/0.5505, allocations: 8 kB / 462.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5505, allocations: 0 / 462.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5526, allocations: 0.8482 MB / 463.5 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.5528, allocations: 108.7 kB / 463.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.5529, allocations: 16.06 kB / 463.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.5533, allocations: 8 kB / 463.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.5534, allocations: 27.97 kB / 463.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.5535, allocations: 16 kB / 463.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.5537, allocations: 132.5 kB / 463.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.5538, allocations: 4 kB / 463.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001098/0.5549, allocations: 75.95 kB / 463.8 MB, free: 6.641 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 () * Number of clocked 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.00283/0.5577, allocations: 2.159 MB / 466 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.5588, allocations: 259.9 kB / 466.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.5589, allocations: 0 / 466.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.5594, allocations: 143.7 kB / 466.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5605, allocations: 58.16 kB / 466.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.5672, allocations: 2.947 MB / 469.4 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.5679, allocations: 0.7725 MB / 470.2 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.5682, allocations: 91.41 kB / 470.3 MB, free: 8 kB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5682, allocations: 4 kB / 470.3 MB, free: 4 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.499/3.067, allocations: 4.511 MB / 474.8 MB, free: 11.5 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat