Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 195.8 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009052/0.0009052, allocations: 89.02 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.055e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3215/0.4368, allocations: 77.24 MB / 479.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4371, allocations: 74.81 kB / 479.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00237/0.4395, allocations: 1.107 MB / 480.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4395, allocations: 0 / 480.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4396, allocations: 1 kB / 480.6 MB, free: 11.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003159/0.4399, allocations: 350.2 kB / 480.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4399, allocations: 8.031 kB / 480.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.44, allocations: 38.92 kB / 480.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.44, allocations: 7.281 kB / 480.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4402, allocations: 179.7 kB / 481.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.4402, allocations: 8.422 kB / 481.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.4403, allocations: 0.9844 kB / 481.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.4405, allocations: 120.6 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4405, allocations: 4.562 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4405, allocations: 0 / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4405, allocations: 4 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.4406, allocations: 4 kB / 481.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.4409, allocations: 267.6 kB / 481.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.4411, allocations: 130.2 kB / 481.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.4411, allocations: 25.19 kB / 481.7 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4411, allocations: 4.828 kB / 481.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4412, allocations: 39.06 kB / 481.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4412, allocations: 0 / 481.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.4413, allocations: 56.42 kB / 481.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4414, allocations: 81.09 kB / 481.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.4415, allocations: 126 kB / 482 MB, free: 9.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.4415, allocations: 25.7 kB / 482 MB, free: 9.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.4415, allocations: 83.08 kB / 482.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.4416, allocations: 4.781 kB / 482.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.4416, allocations: 4 kB / 482.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.4416, allocations: 314.8 kB / 482.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.4417, allocations: 11.41 kB / 482.4 MB, free: 9.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.4417, allocations: 23.95 kB / 482.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/0.4417, allocations: 8.219 kB / 482.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4417, allocations: 0 / 482.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.465e-05/0.4418, allocations: 68.48 kB / 482.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4418, allocations: 8 kB / 482.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4419, allocations: 0 / 482.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4419, allocations: 0 / 482.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.551e-05/0.4419, allocations: 4.609 kB / 482.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4419, allocations: 4.75 kB / 482.5 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.442, allocations: 10.61 kB / 482.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.442, allocations: 0 / 482.5 MB, free: 8.992 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.121e-05/0.442, allocations: 111.3 kB / 482.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.4421, allocations: 51.53 kB / 482.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.4422, allocations: 11.81 kB / 482.7 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.4422, allocations: 0 / 482.7 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4422, allocations: 4 kB / 482.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4422, allocations: 0.5625 kB / 482.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.4423, allocations: 164 kB / 482.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4424, allocations: 0 / 482.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-06/0.4424, allocations: 1 kB / 482.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.4424, allocations: 8.656 kB / 482.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4424, allocations: 0 / 482.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4424, allocations: 4 kB / 482.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4424, allocations: 0 / 482.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.4425, allocations: 172.3 kB / 483.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.4426, allocations: 93.66 kB / 483.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4426, allocations: 0 / 483.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/0.4427, allocations: 7.875 kB / 483.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.4427, allocations: 7.984 kB / 483.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4427, allocations: 0 / 483.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.4428, allocations: 99.69 kB / 483.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4428, allocations: 0 / 483.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.443, allocations: 7.984 kB / 483.3 MB, free: 8.199 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * 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.0003727/0.4434, allocations: 0.7681 MB / 484 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.4435, allocations: 24.88 kB / 484.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4435, allocations: 0 / 484.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.4435, allocations: 3.188 kB / 484.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4438, allocations: 25.14 kB / 484.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.4442, allocations: 136.9 kB / 484.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.4444, allocations: 0.6887 MB / 484.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.4444, allocations: 5.984 kB / 484.9 MB, free: 6.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.4445, allocations: 14.44 kB / 484.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4445, allocations: 0 / 484.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.4585, allocations: 1.19 MB / 486.1 MB, free: 5.504 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.4587, allocations: 175.7 kB / 486.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.019, allocations: 0 / 486.3 MB, free: 5.27 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat