Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001839/0.001839, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008423, allocations: 91.59 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.198e-05, allocations: 4 kB / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4532, allocations: 77.78 MB / 479.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4535, allocations: 79.08 kB / 480 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004102/0.4577, allocations: 1.622 MB / 481.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4577, allocations: 3.062 kB / 481.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4577, allocations: 0 / 481.6 MB, free: 10.18 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.0002942/0.458, allocations: 360.4 kB / 482 MB, free: 9.789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4581, allocations: 15.97 kB / 482 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.4581, allocations: 34.55 kB / 482 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.4582, allocations: 19.03 kB / 482 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.4584, allocations: 184.6 kB / 482.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4584, allocations: 4.734 kB / 482.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.4585, allocations: 7.609 kB / 482.2 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.4587, allocations: 101.6 kB / 482.3 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4587, allocations: 3.938 kB / 482.3 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4587, allocations: 4 kB / 482.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4587, allocations: 0 / 482.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.4588, allocations: 8.484 kB / 482.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.4591, allocations: 274.5 kB / 482.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.35e-05/0.4592, allocations: 45.09 kB / 482.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.4592, allocations: 9.719 kB / 482.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4592, allocations: 7.562 kB / 482.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4593, allocations: 35.55 kB / 482.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.4593, allocations: 5.172 kB / 482.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001557/0.4594, allocations: 49.48 kB / 482.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4595, allocations: 77.11 kB / 482.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.4596, allocations: 128.8 kB / 483 MB, free: 8.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.4596, allocations: 25.7 kB / 483 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.4596, allocations: 87.89 kB / 483.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.4596, allocations: 7.844 kB / 483.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.4597, allocations: 4.062 kB / 483.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.4597, allocations: 326.5 kB / 483.4 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.4598, allocations: 4.688 kB / 483.4 MB, free: 8.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.4598, allocations: 17.59 kB / 483.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.4598, allocations: 4 kB / 483.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4598, allocations: 0 / 483.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.967e-05/0.4599, allocations: 49.25 kB / 483.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4599, allocations: 7.938 kB / 483.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4599, allocations: 0 / 483.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.4599, allocations: 4 kB / 483.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.46, allocations: 6.156 kB / 483.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.46, allocations: 0 / 483.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.4601, allocations: 7.984 kB / 483.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4601, allocations: 0 / 483.5 MB, free: 8.125 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 0.0001077/0.4602, allocations: 111.2 kB / 483.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.4603, allocations: 42.3 kB / 483.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.4603, allocations: 7.656 kB / 483.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4603, allocations: 0 / 483.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4603, allocations: 0 / 483.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4603, allocations: 7.984 kB / 483.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.4604, allocations: 172.8 kB / 483.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4605, allocations: 0.5625 kB / 483.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.4605, allocations: 13.38 kB / 483.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4605, allocations: 0 / 483.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4605, allocations: 4.031 kB / 483.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4605, allocations: 0 / 483.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4605, allocations: 0 / 483.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.4607, allocations: 161.9 kB / 484 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.4607, allocations: 92.94 kB / 484.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4607, allocations: 5.016 kB / 484.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.4608, allocations: 4 kB / 484.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.4609, allocations: 3.984 kB / 484.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.4609, allocations: 4.875 kB / 484.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.461, allocations: 108.5 kB / 484.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.505e-06/0.461, allocations: 0 / 484.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.4612, allocations: 11.94 kB / 484.2 MB, free: 7.328 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.0003146/0.4615, allocations: 0.7685 MB / 485 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.864e-05/0.4616, allocations: 15.75 kB / 485 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4616, allocations: 0 / 485 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.4616, allocations: 4.156 kB / 485 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4619, allocations: 22.36 kB / 485 MB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.4622, allocations: 138.6 kB / 485.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4624, allocations: 0.6887 MB / 485.9 MB, free: 5.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.4625, allocations: 6.906 kB / 485.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.4625, allocations: 15.23 kB / 485.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4625, allocations: 96 / 485.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.4743, allocations: 1.332 MB / 487.2 MB, free: 4.5 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.4745, allocations: 163.6 kB / 487.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/1.999, allocations: 2.625 kB / 487.4 MB, free: 4.281 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat