Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001352/0.001352, allocations: 175.4 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.51/1.51, 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.0008543/0.0008542, allocations: 94.03 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.645e-05, allocations: 0 / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 50.43 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4711, allocations: 76.3 MB / 463.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4714, allocations: 71.95 kB / 463.9 MB, free: 2.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004217/0.4757, allocations: 1.509 MB / 465.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4757, allocations: 3.938 kB / 465.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.4757, allocations: 4 kB / 465.5 MB, free: 0.832 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004202/0.4762, allocations: 356.1 kB / 465.8 MB, free: 452 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4762, allocations: 8.031 kB / 465.8 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.4763, allocations: 11.86 kB / 465.8 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4765, allocations: 190.8 kB / 466 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4765, allocations: 4 kB / 466 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4765, allocations: 3.938 kB / 466 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.4767, allocations: 19.94 kB / 466 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.4769, allocations: 101 kB / 466.1 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4769, allocations: 3.953 kB / 466.1 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.4769, allocations: 0 / 466.1 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4769, allocations: 0 / 466.1 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.4773, allocations: 246.4 kB / 466.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.4774, allocations: 33.16 kB / 466.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.4775, allocations: 21.78 kB / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.4775, allocations: 0 / 466.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4775, allocations: 38.55 kB / 466.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4775, allocations: 4 kB / 466.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001558/0.4777, allocations: 45.56 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4777, allocations: 81.05 kB / 466.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4779, allocations: 131.4 kB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4779, allocations: 25.7 kB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.4779, allocations: 84.14 kB / 466.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.478, allocations: 11.97 kB / 466.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.478, allocations: 0 / 466.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4781, allocations: 318.8 kB / 467.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.4781, allocations: 7.938 kB / 467.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.63e-05/0.4782, allocations: 9.719 kB / 467.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.4782, allocations: 8 kB / 467.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4782, allocations: 0 / 467.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.264e-05/0.4783, allocations: 49.69 kB / 467.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4783, allocations: 4 kB / 467.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4783, allocations: 3.953 kB / 467.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4783, allocations: 0 / 467.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.4784, allocations: 8 kB / 467.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.4784, allocations: 0 / 467.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.4785, allocations: 4 kB / 467.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4785, allocations: 11.97 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.666e-05/0.4785, allocations: 105 kB / 467.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.965e-05/0.4786, allocations: 49.55 kB / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.4787, allocations: 7.859 kB / 467.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.4787, allocations: 19.89 kB / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4787, allocations: 0 / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4787, allocations: 4 kB / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4787, allocations: 0 / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.4789, allocations: 150.2 kB / 467.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4789, allocations: 0 / 467.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.4789, allocations: 12.06 kB / 467.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.479, allocations: 0 / 467.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.479, allocations: 3.953 kB / 467.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.479, allocations: 3.984 kB / 467.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.479, allocations: 0 / 467.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.4791, allocations: 158.7 kB / 467.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.4792, allocations: 97.03 kB / 467.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4792, allocations: 3.953 kB / 467.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.4793, allocations: 7.984 kB / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.4793, allocations: 0 / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4793, allocations: 0 / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.4794, allocations: 105.7 kB / 468 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4794, allocations: 0 / 468 MB, free: 13.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.4796, allocations: 8 kB / 468 MB, free: 13.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004042/0.4801, allocations: 0.7602 MB / 468.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.4801, allocations: 19.88 kB / 468.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4802, allocations: 0 / 468.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.4802, allocations: 12.14 kB / 468.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.4804, allocations: 17.12 kB / 468.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.4808, allocations: 130.5 kB / 468.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.4811, allocations: 0.6923 MB / 469.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.4811, allocations: 4 kB / 469.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.4812, allocations: 15.58 kB / 469.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4812, allocations: 4 kB / 469.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.4998, allocations: 1.002 MB / 470.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.5001, allocations: 151.8 kB / 470.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.952, allocations: 3.938 kB / 470.8 MB, free: 11.05 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat