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.0009499/0.0009499, 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.341/1.341, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.0008152/0.0008149, allocations: 86.28 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.038e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3322/0.4467, allocations: 76.98 MB / 471.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4471, allocations: 79.95 kB / 471.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004518/0.4516, allocations: 1.52 MB / 472.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4516, allocations: 0 / 472.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.4517, allocations: 0 / 472.9 MB, free: 8.906 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.0003362/0.452, allocations: 351.2 kB / 473.3 MB, free: 8.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4521, allocations: 12.03 kB / 473.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.4521, allocations: 30.56 kB / 473.3 MB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.4521, allocations: 11.86 kB / 473.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.4523, allocations: 194.8 kB / 473.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4523, allocations: 4 kB / 473.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4524, allocations: 4 kB / 473.5 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.4526, allocations: 105 kB / 473.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4526, allocations: 0 / 473.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4526, allocations: 3.953 kB / 473.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4526, allocations: 0 / 473.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.4527, allocations: 12 kB / 473.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.453, allocations: 273.7 kB / 473.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.4531, allocations: 34.41 kB / 473.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.4532, allocations: 21.78 kB / 473.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4532, allocations: 7.891 kB / 474 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4532, allocations: 34.56 kB / 474 MB, free: 7.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4532, allocations: 4 kB / 474 MB, free: 7.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.4534, allocations: 49.59 kB / 474 MB, free: 7.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.4535, allocations: 81.05 kB / 474.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4536, allocations: 132.1 kB / 474.2 MB, free: 7.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.4537, allocations: 25.7 kB / 474.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.4537, allocations: 88.14 kB / 474.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4537, allocations: 7.906 kB / 474.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.4537, allocations: 64 / 474.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4539, allocations: 318.8 kB / 474.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.4539, allocations: 7.938 kB / 474.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.454, allocations: 17.72 kB / 474.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.454, allocations: 4 kB / 474.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.454, allocations: 0 / 474.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.322e-05/0.4541, allocations: 57.67 kB / 474.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4541, allocations: 5.25 kB / 474.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4541, allocations: 0 / 474.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4541, allocations: 0 / 474.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.4542, allocations: 8 kB / 474.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4542, allocations: 0 / 474.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.4543, allocations: 4 kB / 474.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.4543, allocations: 3.984 kB / 474.8 MB, free: 6.777 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.097e-05/0.4544, allocations: 101 kB / 474.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.4544, allocations: 53.53 kB / 474.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.4545, allocations: 7.656 kB / 474.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4545, allocations: 0 / 474.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4545, allocations: 0 / 474.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4545, allocations: 3.984 kB / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.4546, allocations: 169.7 kB / 475.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4546, allocations: 0 / 475.1 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.4547, allocations: 4 kB / 475.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4547, allocations: 0 / 475.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4547, allocations: 11.98 kB / 475.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4547, allocations: 0 / 475.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4547, allocations: 0 / 475.1 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.4548, allocations: 166 kB / 475.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.4549, allocations: 100.9 kB / 475.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4549, allocations: 0 / 475.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.455, allocations: 12.03 kB / 475.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.455, allocations: 3.984 kB / 475.4 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4551, allocations: 3.938 kB / 475.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.732e-05/0.4551, allocations: 110 kB / 475.5 MB, free: 5.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4551, allocations: 0 / 475.5 MB, free: 5.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000216/0.4554, allocations: 4 kB / 475.5 MB, free: 5.941 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.000354/0.4557, allocations: 0.7641 MB / 476.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.952e-05/0.4558, allocations: 15.94 kB / 476.3 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4558, allocations: 3.938 kB / 476.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.4558, allocations: 8 kB / 476.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4561, allocations: 16.23 kB / 476.3 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.4564, allocations: 131.4 kB / 476.5 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.4567, allocations: 0.6974 MB / 477.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.855e-05/0.4567, allocations: 0 / 477.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.4567, allocations: 15.44 kB / 477.2 MB, free: 4.195 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4568, allocations: 4 kB / 477.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.4676, allocations: 1.334 MB / 478.5 MB, free: 2.996 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.4678, allocations: 173.7 kB / 478.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/1.857, allocations: 0 / 478.7 MB, free: 2.77 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