Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",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.001087/0.001087, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.3 MB / 214.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 90.34 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.963e-05, allocations: 4 kB / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 47.59 MB / 363.2 MB, free: 7 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.465, allocations: 76.66 MB / 439.8 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4653, allocations: 71.12 kB / 439.9 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0102/0.4755, allocations: 3.749 MB / 443.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4756, allocations: 4 kB / 443.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4756, allocations: 8 kB / 443.7 MB, free: 15.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006334/0.4762, allocations: 483.2 kB / 444.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.4763, allocations: 12.03 kB / 444.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.4764, allocations: 27.72 kB / 444.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.4766, allocations: 227.1 kB / 444.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4766, allocations: 4.766 kB / 444.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.4767, allocations: 12 kB / 444.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002355/0.4769, allocations: 115.5 kB / 444.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4772, allocations: 177.6 kB / 444.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4773, allocations: 0 / 444.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.4773, allocations: 0 / 444.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.4773, allocations: 8 kB / 444.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.4784, allocations: 0.7482 MB / 445.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.4787, allocations: 177.7 kB / 445.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4788, allocations: 92.77 kB / 445.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.4789, allocations: 4 kB / 445.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4789, allocations: 34.56 kB / 445.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.4789, allocations: 0 / 445.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001088/0.48, allocations: 0.7147 MB / 446.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4801, allocations: 85.05 kB / 446.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4802, allocations: 138.7 kB / 446.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4802, allocations: 25.7 kB / 446.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.4803, allocations: 146.5 kB / 446.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.162e-05/0.4804, allocations: 89.09 kB / 446.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.4804, allocations: 4 kB / 446.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4805, allocations: 329.8 kB / 447.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.4806, allocations: 51.36 kB / 447.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.4807, allocations: 87.97 kB / 447.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4809, allocations: 66.11 kB / 447.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4809, allocations: 7.938 kB / 447.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002708/0.4811, allocations: 188.7 kB / 447.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4812, allocations: 8 kB / 447.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4812, allocations: 0 / 447.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4812, allocations: 4 kB / 447.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.4815, allocations: 67.66 kB / 447.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4815, allocations: 7.953 kB / 447.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4816, allocations: 15.98 kB / 447.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.4816, allocations: 8 kB / 447.8 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 7.82e-05/0.4817, allocations: 105.9 kB / 447.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002616/0.482, allocations: 178.9 kB / 448 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.482, allocations: 15.81 kB / 448.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.4821, allocations: 23.66 kB / 448.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4821, allocations: 11.94 kB / 448.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4821, allocations: 0 / 448.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.4821, allocations: 7.984 kB / 448.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.4828, allocations: 0.5149 MB / 448.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4828, allocations: 4 kB / 448.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.4831, allocations: 59.62 kB / 448.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4831, allocations: 4 kB / 448.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4832, allocations: 0 / 448.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.4832, allocations: 7.938 kB / 448.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4832, allocations: 0 / 448.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.4837, allocations: 488 kB / 449.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.4837, allocations: 88.92 kB / 449.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4838, allocations: 4 kB / 449.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.4839, allocations: 8.031 kB / 449.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.484, allocations: 27.81 kB / 449.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.484, allocations: 11.98 kB / 449.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.6e-05/0.4841, allocations: 109.4 kB / 449.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4841, allocations: 0 / 449.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003111/0.4844, allocations: 40 kB / 449.4 MB, free: 10.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0008254/0.4852, allocations: 1.301 MB / 450.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.4855, allocations: 155.6 kB / 450.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4855, allocations: 0 / 450.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4856, allocations: 75.94 kB / 451 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.486, allocations: 31.28 kB / 451 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4871, allocations: 0.5784 MB / 451.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.4874, allocations: 0.7557 MB / 452.3 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.4875, allocations: 18.06 kB / 452.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.4876, allocations: 69.22 kB / 452.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4876, allocations: 3.938 kB / 452.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/0.5367, allocations: 3.385 MB / 455.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.5372, allocations: 145 kB / 456 MB, free: 3.844 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.337, allocations: 4 kB / 456 MB, free: 3.84 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat