Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009462/0.0009462, allocations: 94.16 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.925e-05, allocations: 8 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 51.47 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.5021, allocations: 76.14 MB / 471.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/0.5025, allocations: 74.16 kB / 471.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001885/0.5044, allocations: 0.7526 MB / 472.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5044, allocations: 0 / 472.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5045, allocations: 0 / 472.2 MB, free: 14.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003093/0.5048, allocations: 326.8 kB / 472.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.5048, allocations: 12.03 kB / 472.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.5049, allocations: 5.625 kB / 472.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5051, allocations: 173.3 kB / 472.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.5051, allocations: 6.359 kB / 472.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.5051, allocations: 0 / 472.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.139e-05/0.5052, allocations: 15.92 kB / 472.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.5054, allocations: 91.56 kB / 472.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5055, allocations: 0 / 472.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5055, allocations: 0.6562 kB / 472.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5055, allocations: 1.969 kB / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.5056, allocations: 138.8 kB / 473 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.441e-05/0.5057, allocations: 39.59 kB / 473 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.5058, allocations: 17.94 kB / 473 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.5058, allocations: 0 / 473 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.5058, allocations: 31.22 kB / 473.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.5058, allocations: 0 / 473.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.506, allocations: 59.7 kB / 473.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.5061, allocations: 60.52 kB / 473.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.5061, allocations: 96.41 kB / 473.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.5062, allocations: 25.7 kB / 473.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.5062, allocations: 87.52 kB / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.5062, allocations: 5.312 kB / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.5062, allocations: 0 / 473.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.5063, allocations: 312.2 kB / 473.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.5063, allocations: 11.12 kB / 473.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.5064, allocations: 28.92 kB / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.947e-05/0.5064, allocations: 4 kB / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5064, allocations: 0 / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.912e-05/0.5065, allocations: 55.25 kB / 473.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5065, allocations: 9.266 kB / 473.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5065, allocations: 1.969 kB / 473.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5065, allocations: 0 / 473.8 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.5066, allocations: 7 kB / 473.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5066, allocations: 13.2 kB / 473.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.5066, allocations: 0 / 473.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.5066, allocations: 0 / 473.8 MB, free: 12.51 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.91e-05/0.5067, allocations: 108.4 kB / 473.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.669e-05/0.5068, allocations: 53.22 kB / 474 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.5068, allocations: 4 kB / 474 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.5068, allocations: 8.078 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5068, allocations: 1.547 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5069, allocations: 3.828 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5069, allocations: 0 / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.507, allocations: 134 kB / 474.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.507, allocations: 1.734 kB / 474.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.507, allocations: 7.938 kB / 474.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.507, allocations: 0 / 474.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.507, allocations: 7.375 kB / 474.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5071, allocations: 0 / 474.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5071, allocations: 3.953 kB / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.089e-05/0.5072, allocations: 74.81 kB / 474.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.5072, allocations: 79.03 kB / 474.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.5072, allocations: 3.562 kB / 474.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.5073, allocations: 5.5 kB / 474.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-06/0.5073, allocations: 0 / 474.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.5073, allocations: 3.125 kB / 474.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.77e-05/0.5073, allocations: 87.23 kB / 474.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5073, allocations: 0 / 474.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000198/0.5075, allocations: 4 kB / 474.4 MB, free: 11.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0003277/0.5079, allocations: 0.6156 MB / 475 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.11e-05/0.508, allocations: 27.12 kB / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.508, allocations: 0 / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.508, allocations: 0 / 475.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.5081, allocations: 17.95 kB / 475.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.5084, allocations: 89.77 kB / 475.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.5086, allocations: 0.6858 MB / 475.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.5087, allocations: 5.781 kB / 475.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.5087, allocations: 15.56 kB / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5087, allocations: 0 / 475.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.5297, allocations: 0.7619 MB / 476.6 MB, free: 9.977 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.5299, allocations: 160.6 kB / 476.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.98, allocations: 3.375 kB / 476.8 MB, free: 9.781 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat