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.001459/0.001459, allocations: 196.8 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.418/1.418, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008705/0.0008704, allocations: 93.22 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.216e-05, allocations: 4.219 kB / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 51.49 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4545, allocations: 77.06 MB / 479.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4547, allocations: 80.83 kB / 479.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002121/0.4569, allocations: 1.034 MB / 480.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4569, allocations: 1.438 kB / 480.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.4569, allocations: 4.766 kB / 480.3 MB, free: 11.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002327/0.4571, allocations: 339.8 kB / 480.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4572, allocations: 8.031 kB / 480.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.4572, allocations: 33.84 kB / 480.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.4572, allocations: 11.16 kB / 480.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4574, allocations: 179.8 kB / 480.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4574, allocations: 1.672 kB / 480.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4574, allocations: 8.375 kB / 480.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.4576, allocations: 88.28 kB / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4576, allocations: 7.922 kB / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.4576, allocations: 0 / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4576, allocations: 0 / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.4577, allocations: 12.2 kB / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.4579, allocations: 257.5 kB / 481.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.4579, allocations: 41.03 kB / 481.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.458, allocations: 13.84 kB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.458, allocations: 3.75 kB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.458, allocations: 38.56 kB / 481.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.458, allocations: 0 / 481.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.4582, allocations: 49.16 kB / 481.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.4582, allocations: 79.36 kB / 481.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.4583, allocations: 117.8 kB / 481.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.4583, allocations: 25.7 kB / 481.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.4583, allocations: 95.5 kB / 481.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.4583, allocations: 3.906 kB / 481.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.4584, allocations: 0 / 481.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.4584, allocations: 314.6 kB / 482 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.4584, allocations: 7.938 kB / 482 MB, free: 9.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.4584, allocations: 10.88 kB / 482 MB, free: 9.516 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.301e-05/0.4585, allocations: 7.625 kB / 482 MB, free: 9.512 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4585, allocations: 4 kB / 482 MB, free: 9.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.483e-05/0.4585, allocations: 49.58 kB / 482.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4585, allocations: 5.719 kB / 482.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4586, allocations: 0.8125 kB / 482.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4586, allocations: 0 / 482.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.38e-05/0.4586, allocations: 4 kB / 482.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4586, allocations: 3.938 kB / 482.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.4586, allocations: 0 / 482.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4586, allocations: 4 kB / 482.1 MB, free: 9.438 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: 2 (sample1.u,sample1.y) * 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 3.532e-05/0.4587, allocations: 110.3 kB / 482.2 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.4587, allocations: 45.55 kB / 482.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.4588, allocations: 7.031 kB / 482.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4588, allocations: 0.8125 kB / 482.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4588, allocations: 4 kB / 482.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4588, allocations: 1.781 kB / 482.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4589, allocations: 164 kB / 482.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4589, allocations: 0 / 482.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.4589, allocations: 4.875 kB / 482.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.459, allocations: 7.984 kB / 482.4 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.459, allocations: 4 kB / 482.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.459, allocations: 0 / 482.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.459, allocations: 0 / 482.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.26e-05/0.4591, allocations: 152.7 kB / 482.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.4591, allocations: 96.98 kB / 482.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.4591, allocations: 0 / 482.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.4592, allocations: 8 kB / 482.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.4592, allocations: 0 / 482.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4592, allocations: 0 / 482.7 MB, free: 8.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.4593, allocations: 105 kB / 482.8 MB, free: 8.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.4593, allocations: 0 / 482.8 MB, free: 8.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.4595, allocations: 7.938 kB / 482.8 MB, free: 8.668 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: 2 (sample1.u,sample1.y) * 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.0002326/0.4597, allocations: 0.7598 MB / 483.6 MB, free: 7.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.555e-05/0.4598, allocations: 15.5 kB / 483.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.4598, allocations: 0.75 kB / 483.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.4598, allocations: 8.156 kB / 483.6 MB, free: 7.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.46, allocations: 10.89 kB / 483.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.4603, allocations: 125.2 kB / 483.7 MB, free: 7.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4604, allocations: 0.6887 MB / 484.4 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.4604, allocations: 0 / 484.4 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.4605, allocations: 11.38 kB / 484.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4605, allocations: 0 / 484.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01058/0.4711, allocations: 1.118 MB / 485.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.4713, allocations: 172.9 kB / 485.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.982, allocations: 0 / 485.7 MB, free: 5.863 MB / 346.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