Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000829/0.000829, allocations: 99.11 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002206/0.0002206, allocations: 8 kB / 358 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08423/0.2801, allocations: 77.12 MB / 486.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.2803, allocations: 75.95 kB / 486.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002342/0.2827, allocations: 1.035 MB / 487.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2827, allocations: 0 / 487.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2827, allocations: 4 kB / 487.7 MB, free: 12.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003072/0.283, allocations: 360.3 kB / 488.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2831, allocations: 13.03 kB / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.2831, allocations: 30.56 kB / 488.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.2832, allocations: 7.906 kB / 488.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.2833, allocations: 184.3 kB / 488.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2834, allocations: 0 / 488.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.2834, allocations: 7.938 kB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.2836, allocations: 89.05 kB / 488.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2836, allocations: 0 / 488.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.2836, allocations: 11.94 kB / 488.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2836, allocations: 0 / 488.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.2837, allocations: 19.92 kB / 488.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.284, allocations: 253.8 kB / 488.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.2841, allocations: 45.22 kB / 488.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2841, allocations: 7.922 kB / 488.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2841, allocations: 30.56 kB / 488.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2841, allocations: 0 / 488.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001996/0.2843, allocations: 57.91 kB / 488.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.2844, allocations: 81.14 kB / 488.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2845, allocations: 130 kB / 489 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2845, allocations: 29.64 kB / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2846, allocations: 84.05 kB / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/0.2846, allocations: 0 / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.2846, allocations: 0 / 489.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.2847, allocations: 318.8 kB / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.2847, allocations: 11.98 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.2848, allocations: 13.72 kB / 489.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.2848, allocations: 8 kB / 489.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2848, allocations: 0 / 489.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.685e-05/0.2849, allocations: 57.58 kB / 489.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2849, allocations: 8.125 kB / 489.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2849, allocations: 0 / 489.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2849, allocations: 0 / 489.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.466e-05/0.285, allocations: 4 kB / 489.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.285, allocations: 0 / 489.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.285, allocations: 3.984 kB / 489.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.285, allocations: 8 kB / 489.6 MB, free: 10.26 MB / 362.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked 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 7.185e-05/0.2851, allocations: 113.8 kB / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.2851, allocations: 45.56 kB / 489.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.2852, allocations: 11.52 kB / 489.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2852, allocations: 0 / 489.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2852, allocations: 0 / 489.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2852, allocations: 4 kB / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.2854, allocations: 165.7 kB / 489.9 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2854, allocations: 0 / 489.9 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.2854, allocations: 3.984 kB / 489.9 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2854, allocations: 3.953 kB / 489.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2854, allocations: 0 / 489.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2854, allocations: 4 kB / 489.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2854, allocations: 4.031 kB / 489.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.2856, allocations: 166 kB / 490.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.2856, allocations: 92.98 kB / 490.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2856, allocations: 0 / 490.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.2857, allocations: 8.031 kB / 490.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.2857, allocations: 0 / 490.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2857, allocations: 4 kB / 490.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.2858, allocations: 107.2 kB / 490.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2858, allocations: 0 / 490.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.286, allocations: 0 / 490.3 MB, free: 9.434 MB / 362.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked 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.0003974/0.2864, allocations: 0.7719 MB / 491.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.2865, allocations: 19.98 kB / 491.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2865, allocations: 0 / 491.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.2866, allocations: 8.156 kB / 491.1 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.2868, allocations: 22.19 kB / 491.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.2874, allocations: 0.5643 MB / 491.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2877, allocations: 0.6887 MB / 492.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.271e-05/0.2877, allocations: 4 kB / 492.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.2878, allocations: 15.42 kB / 492.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2878, allocations: 0 / 492.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.2986, allocations: 1.117 MB / 493.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.2988, allocations: 197.1 kB / 493.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.414/1.713, allocations: 0 / 493.7 MB, free: 6.051 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat