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.001035/0.001035, allocations: 173 kB / 14.1 MB, free: 1.223 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.446/1.446, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008214/0.0008218, allocations: 82.7 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.982e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08783, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4167, allocations: 77.09 MB / 447.2 MB, free: 200 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.417, allocations: 70.83 kB / 447.3 MB, free: 164 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.4273, allocations: 3.8 MB / 451.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4273, allocations: 0 / 451.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.4274, allocations: 4 kB / 451.1 MB, free: 12.94 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.0006945/0.4281, allocations: 483 kB / 451.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.4281, allocations: 8.031 kB / 451.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.4282, allocations: 54.98 kB / 451.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.4283, allocations: 23.72 kB / 451.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4285, allocations: 229.4 kB / 451.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.4286, allocations: 15.44 kB / 451.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.4286, allocations: 22.31 kB / 451.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.429, allocations: 199.7 kB / 452.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.429, allocations: 7.875 kB / 452.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.429, allocations: 7.609 kB / 452.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4291, allocations: 8 kB / 452.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.4293, allocations: 118.4 kB / 452.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4304, allocations: 0.8061 MB / 453 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.4308, allocations: 182.4 kB / 453.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.431, allocations: 96.27 kB / 453.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.431, allocations: 7.984 kB / 453.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4311, allocations: 37.81 kB / 453.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4311, allocations: 0 / 453.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0013/0.4324, allocations: 0.7678 MB / 454.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.4324, allocations: 89.09 kB / 454.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.4326, allocations: 155.1 kB / 454.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4326, allocations: 32.83 kB / 454.4 MB, free: 9.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.4327, allocations: 137.8 kB / 454.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.4328, allocations: 97.95 kB / 454.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.4328, allocations: 7.5 kB / 454.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.433, allocations: 334.2 kB / 454.9 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.4331, allocations: 58.98 kB / 455 MB, free: 9.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.4332, allocations: 103.4 kB / 455.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4333, allocations: 70.97 kB / 455.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.4333, allocations: 448 / 455.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003134/0.4336, allocations: 215.3 kB / 455.4 MB, free: 8.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4337, allocations: 12.09 kB / 455.4 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4337, allocations: 0 / 455.4 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4337, allocations: 11.89 kB / 455.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.434, allocations: 59.91 kB / 455.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.434, allocations: 8 kB / 455.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4341, allocations: 15.7 kB / 455.5 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4341, allocations: 11.94 kB / 455.5 MB, free: 8.789 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.509e-05/0.4342, allocations: 120.7 kB / 455.6 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.4343, allocations: 15.81 kB / 455.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.4343, allocations: 28.95 kB / 455.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4343, allocations: 7.953 kB / 455.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4344, allocations: 0 / 455.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4344, allocations: 4 kB / 455.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.4351, allocations: 0.5732 MB / 456.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4351, allocations: 4 kB / 456.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.4354, allocations: 63.39 kB / 456.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4354, allocations: 4 kB / 456.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.4354, allocations: 7.875 kB / 456.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4354, allocations: 0 / 456.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4354, allocations: 4 kB / 456.3 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.436, allocations: 0.5049 MB / 456.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.436, allocations: 92.86 kB / 456.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.4361, allocations: 7.875 kB / 456.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.4362, allocations: 19.61 kB / 457 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.4363, allocations: 15.92 kB / 457 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4363, allocations: 4 kB / 457 MB, free: 7.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.949e-05/0.4364, allocations: 135.6 kB / 457.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4364, allocations: 0 / 457.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.4367, allocations: 59.88 kB / 457.2 MB, free: 7.223 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.0008944/0.4376, allocations: 1.315 MB / 458.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.4379, allocations: 152 kB / 458.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4379, allocations: 0 / 458.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4381, allocations: 80.25 kB / 458.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.4384, allocations: 51.98 kB / 458.8 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4395, allocations: 0.6052 MB / 459.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4399, allocations: 0.756 MB / 460.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.44, allocations: 18.08 kB / 460.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4401, allocations: 67.41 kB / 460.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4401, allocations: 0 / 460.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.4555, allocations: 3.878 MB / 464.1 MB, free: 240 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.4558, allocations: 162.6 kB / 464.2 MB, free: 4 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.029, allocations: 0 / 464.2 MB, free: 4 kB / 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