Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.001063/0.001063, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.3 MB / 235.5 MB, free: 2.914 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.0008154/0.0008156, allocations: 89.84 kB / 286.5 MB, free: 188 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.763e-05, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09832, allocations: 50.43 MB / 394.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4324, allocations: 76.99 MB / 471.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4327, allocations: 79.95 kB / 471.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003994/0.4367, allocations: 1.51 MB / 472.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4367, allocations: 0 / 472.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4367, allocations: 0 / 472.9 MB, free: 8.895 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003346/0.4371, allocations: 359.1 kB / 473.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4371, allocations: 12.03 kB / 473.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.4372, allocations: 38.52 kB / 473.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.4372, allocations: 11.91 kB / 473.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.4374, allocations: 190.8 kB / 473.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.4374, allocations: 4 kB / 473.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.4374, allocations: 4 kB / 473.5 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.4377, allocations: 101.9 kB / 473.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4377, allocations: 7.953 kB / 473.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4377, allocations: 4 kB / 473.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4377, allocations: 4 kB / 473.7 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.4378, allocations: 15.94 kB / 473.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.4381, allocations: 270.7 kB / 473.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.4382, allocations: 69.02 kB / 474 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.4383, allocations: 30.59 kB / 474 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4383, allocations: 0 / 474 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4383, allocations: 38.56 kB / 474.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4383, allocations: 3.938 kB / 474.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000159/0.4385, allocations: 61.53 kB / 474.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4385, allocations: 110.8 kB / 474.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4387, allocations: 127.5 kB / 474.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.4387, allocations: 25.7 kB / 474.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.4387, allocations: 104.1 kB / 474.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.4387, allocations: 4 kB / 474.5 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.4388, allocations: 3.938 kB / 474.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.4389, allocations: 318.8 kB / 474.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.4389, allocations: 4 kB / 474.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.4389, allocations: 27.44 kB / 474.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.4389, allocations: 11.94 kB / 474.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4389, allocations: 4 kB / 474.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.081e-05/0.439, allocations: 61.48 kB / 474.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4391, allocations: 8 kB / 474.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4391, allocations: 0 / 474.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4391, allocations: 0 / 474.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.4392, allocations: 20.11 kB / 475 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4392, allocations: 4 kB / 475 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.4392, allocations: 4.625 kB / 475 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4393, allocations: 4 kB / 475 MB, free: 6.582 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 6.174e-05/0.4393, allocations: 108.9 kB / 475.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.4394, allocations: 57.64 kB / 475.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.4394, allocations: 15.64 kB / 475.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4395, allocations: 64 / 475.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4395, allocations: 4 kB / 475.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4395, allocations: 4 kB / 475.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.4396, allocations: 169.7 kB / 475.3 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4396, allocations: 0 / 475.3 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.4397, allocations: 19.92 kB / 475.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4397, allocations: 3.953 kB / 475.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.4397, allocations: 0 / 475.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4397, allocations: 0.7812 kB / 475.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4397, allocations: 4 kB / 475.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.4399, allocations: 192.6 kB / 475.5 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.44, allocations: 93 kB / 475.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.44, allocations: 0 / 475.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.4401, allocations: 7.984 kB / 475.6 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.4401, allocations: 4 kB / 475.6 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4401, allocations: 7.938 kB / 475.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.533e-05/0.4402, allocations: 109.8 kB / 475.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4402, allocations: 0 / 475.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.4404, allocations: 4 kB / 475.8 MB, free: 5.684 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004088/0.4408, allocations: 0.8705 MB / 476.6 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.4409, allocations: 23.94 kB / 476.6 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4409, allocations: 0 / 476.6 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.4409, allocations: 4 kB / 476.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.4412, allocations: 36.16 kB / 476.7 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.4415, allocations: 144.4 kB / 476.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4418, allocations: 0.6965 MB / 477.5 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.308e-05/0.4418, allocations: 4.172 kB / 477.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.4419, allocations: 19.62 kB / 477.5 MB, free: 3.781 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4419, allocations: 4 kB / 477.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.4531, allocations: 1.453 MB / 479 MB, free: 2.457 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.4533, allocations: 168.1 kB / 479.2 MB, free: 2.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.869, allocations: 0 / 479.2 MB, free: 2.23 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat