Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_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.0009978/0.000998, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009133/0.0009137, allocations: 94.59 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002532, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2966, allocations: 47.57 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0973/0.394, allocations: 76.17 MB / 452.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3942, allocations: 67.91 kB / 452.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.4048, allocations: 4.145 MB / 456.3 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4048, allocations: 192 / 456.3 MB, free: 280 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4048, allocations: 4 kB / 456.3 MB, free: 276 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.0006423/0.4055, allocations: 0.4989 MB / 456.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4055, allocations: 12.03 kB / 456.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.4056, allocations: 62.53 kB / 456.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.4057, allocations: 23.72 kB / 456.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.406, allocations: 243.3 kB / 457.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.406, allocations: 20.56 kB / 457.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.406, allocations: 31.84 kB / 457.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.4064, allocations: 235.4 kB / 457.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4064, allocations: 0 / 457.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.4065, allocations: 12 kB / 457.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4065, allocations: 4 kB / 457.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.4067, allocations: 166.2 kB / 457.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.4077, allocations: 0.8051 MB / 458.4 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.4082, allocations: 291.3 kB / 458.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4082, allocations: 11.95 kB / 458.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4082, allocations: 35 kB / 458.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.4083, allocations: 4 kB / 458.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002462/0.4107, allocations: 1.945 MB / 460.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4108, allocations: 110.8 kB / 460.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.411, allocations: 174.1 kB / 460.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.411, allocations: 29.7 kB / 461 MB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.4111, allocations: 132.8 kB / 461.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.4112, allocations: 173.5 kB / 461.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.4113, allocations: 8 kB / 461.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4114, allocations: 338.8 kB / 461.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4116, allocations: 88.84 kB / 461.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.4118, allocations: 158.4 kB / 461.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.412, allocations: 117.3 kB / 462 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.412, allocations: 0 / 462 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004639/0.4125, allocations: 344.9 kB / 462.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4125, allocations: 12.62 kB / 462.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4125, allocations: 0 / 462.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4125, allocations: 4 kB / 462.3 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.4128, allocations: 95.89 kB / 462.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4129, allocations: 4 kB / 462.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.413, allocations: 12 kB / 462.4 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.413, allocations: 12 kB / 462.4 MB, free: 9.574 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.0001372/0.4131, allocations: 157.7 kB / 462.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.4132, allocations: 23.72 kB / 462.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.164e-05/0.4133, allocations: 41.86 kB / 462.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.4133, allocations: 8 kB / 462.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4133, allocations: 0 / 462.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4134, allocations: 3.984 kB / 462.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.4146, allocations: 1.051 MB / 463.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4146, allocations: 7.984 kB / 463.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.415, allocations: 83.84 kB / 463.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.415, allocations: 4 kB / 463.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.415, allocations: 16 kB / 463.8 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.415, allocations: 7.984 kB / 463.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.415, allocations: 4 kB / 463.8 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.4159, allocations: 0.8453 MB / 464.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.4159, allocations: 104.8 kB / 464.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.416, allocations: 20.05 kB / 464.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.4162, allocations: 8 kB / 464.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.4162, allocations: 27.95 kB / 464.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.4163, allocations: 16 kB / 464.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.4164, allocations: 136.5 kB / 465 MB, free: 6.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4164, allocations: 0 / 465 MB, free: 6.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003986/0.4168, allocations: 75.95 kB / 465.1 MB, free: 6.711 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.001379/0.4182, allocations: 2.162 MB / 467.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004072/0.4186, allocations: 262.2 kB / 467.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4186, allocations: 0 / 467.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.4188, allocations: 143.7 kB / 467.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.4193, allocations: 56.38 kB / 467.7 MB, free: 4.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.4223, allocations: 2.909 MB / 470.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.4227, allocations: 0.7725 MB / 471.4 MB, free: 216 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.4228, allocations: 38.95 kB / 471.4 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.423, allocations: 91.41 kB / 471.5 MB, free: 84 kB / 346.7 MB Notification: Performance of SimCode: time 3.446e-06/0.423, allocations: 0 / 471.5 MB, free: 84 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.4417, allocations: 5.299 MB / 476.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.4421, allocations: 174.3 kB / 477 MB, free: 10.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.352, allocations: 3.938 kB / 477 MB, free: 10.55 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat