Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009917/0.0009919, allocations: 175.6 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008784, allocations: 96.44 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.322e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.09987, allocations: 50.42 MB / 387.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.4385, allocations: 76.51 MB / 464.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4387, allocations: 75.95 kB / 464.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004357/0.4431, allocations: 1.62 MB / 465.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4431, allocations: 3.938 kB / 465.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.4431, allocations: 8 kB / 465.8 MB, free: 0.5312 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003763/0.4435, allocations: 367 kB / 466.1 MB, free: 132 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4436, allocations: 12.03 kB / 466.1 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.4436, allocations: 11.86 kB / 466.2 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.4438, allocations: 198.8 kB / 466.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4438, allocations: 4 kB / 466.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.4438, allocations: 0 / 466.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.538e-05/0.4439, allocations: 27.98 kB / 466.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.4442, allocations: 122.7 kB / 466.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4442, allocations: 0 / 466.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4442, allocations: 3.953 kB / 466.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.4442, allocations: 7.938 kB / 466.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.4446, allocations: 264.1 kB / 466.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.4447, allocations: 86.44 kB / 466.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.4447, allocations: 39.48 kB / 466.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4448, allocations: 7.938 kB / 466.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4448, allocations: 34.56 kB / 466.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4448, allocations: 0 / 466.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.00017/0.445, allocations: 73.48 kB / 467 MB, free: 15.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.445, allocations: 132.5 kB / 467.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.4451, allocations: 135 kB / 467.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4452, allocations: 25.7 kB / 467.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4452, allocations: 88.33 kB / 467.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.4452, allocations: 16.02 kB / 467.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.4452, allocations: 4 kB / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.4453, allocations: 310.8 kB / 467.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.4454, allocations: 8 kB / 467.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.4454, allocations: 45.14 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.4454, allocations: 12 kB / 467.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4454, allocations: 0 / 467.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001018/0.4455, allocations: 69.47 kB / 467.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4456, allocations: 8 kB / 467.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4456, allocations: 0 / 467.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4456, allocations: 4 kB / 467.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.4457, allocations: 16.17 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4457, allocations: 7.953 kB / 467.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.4458, allocations: 7.938 kB / 467.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.4458, allocations: 4 kB / 467.9 MB, free: 14.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.743e-05/0.4458, allocations: 108.9 kB / 468 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001132/0.446, allocations: 69.53 kB / 468.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.446, allocations: 16.02 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.446, allocations: 15.97 kB / 468.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4461, allocations: 3.953 kB / 468.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4461, allocations: 0 / 468.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4461, allocations: 4 kB / 468.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4462, allocations: 154.2 kB / 468.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4462, allocations: 3.938 kB / 468.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.4463, allocations: 19.92 kB / 468.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4463, allocations: 0 / 468.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4463, allocations: 128 / 468.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4463, allocations: 8 kB / 468.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4463, allocations: 7.984 kB / 468.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.4465, allocations: 220.3 kB / 468.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.4466, allocations: 101 kB / 468.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.4466, allocations: 3.984 kB / 468.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.4467, allocations: 4 kB / 468.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.4467, allocations: 0 / 468.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4467, allocations: 4 kB / 468.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.4468, allocations: 110.7 kB / 468.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4468, allocations: 4 kB / 468.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.447, allocations: 4 kB / 468.7 MB, free: 13.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0004182/0.4474, allocations: 0.9575 MB / 469.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.31e-05/0.4475, allocations: 27.94 kB / 469.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4475, allocations: 0 / 469.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.4476, allocations: 7.938 kB / 469.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.4478, allocations: 36.02 kB / 469.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.4483, allocations: 167.3 kB / 469.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4485, allocations: 0.7002 MB / 470.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.4485, allocations: 8.609 kB / 470.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.4486, allocations: 23.42 kB / 470.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4486, allocations: 0 / 470.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.4673, allocations: 1.397 MB / 472 MB, free: 9.75 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.4676, allocations: 158.5 kB / 472.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/1.883, allocations: 1.266 kB / 472.2 MB, free: 9.555 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat