Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.86/1.86, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009042/0.0009045, allocations: 90.84 kB / 286.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.116e-05, allocations: 4 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 51.48 MB / 395.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5451, allocations: 76.18 MB / 471.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5454, allocations: 76.94 kB / 471.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001686/0.5471, allocations: 0.6759 MB / 472.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5471, allocations: 0 / 472.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.5472, allocations: 3.609 kB / 472.2 MB, free: 14.25 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.0003133/0.5475, allocations: 325.1 kB / 472.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.5476, allocations: 12.03 kB / 472.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.5476, allocations: 2.812 kB / 472.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.5478, allocations: 167.4 kB / 472.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.5478, allocations: 7.203 kB / 472.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.5479, allocations: 0 / 472.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.038e-05/0.5479, allocations: 19.19 kB / 472.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.5481, allocations: 87.95 kB / 472.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5482, allocations: 0 / 472.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5482, allocations: 0 / 472.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5482, allocations: 4 kB / 472.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.5483, allocations: 127.6 kB / 472.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.5484, allocations: 46.67 kB / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.5485, allocations: 16.23 kB / 473 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.5485, allocations: 1.266 kB / 473 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.5485, allocations: 33.88 kB / 473 MB, free: 13.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.5485, allocations: 0 / 473 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001523/0.5487, allocations: 55.64 kB / 473.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.5487, allocations: 56.48 kB / 473.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.5488, allocations: 98.94 kB / 473.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.5488, allocations: 25.7 kB / 473.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.5489, allocations: 85.34 kB / 473.3 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.5489, allocations: 3.188 kB / 473.3 MB, free: 13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.5489, allocations: 0 / 473.3 MB, free: 13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.5489, allocations: 312.3 kB / 473.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.5489, allocations: 4 kB / 473.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.549, allocations: 32.31 kB / 473.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.803e-05/0.549, allocations: 5.312 kB / 473.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.549, allocations: 0 / 473.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.208e-05/0.5491, allocations: 54.69 kB / 473.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5491, allocations: 8.125 kB / 473.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5491, allocations: 7.172 kB / 473.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5491, allocations: 0 / 473.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.5492, allocations: 5.953 kB / 473.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5492, allocations: 3.953 kB / 473.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.5492, allocations: 4 kB / 473.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.5493, allocations: 0 / 473.8 MB, free: 12.57 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 5.874e-05/0.5493, allocations: 108.7 kB / 473.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.466e-05/0.5494, allocations: 52.28 kB / 473.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.5494, allocations: 1.266 kB / 473.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.5494, allocations: 15.2 kB / 473.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5494, allocations: 4 kB / 474 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5495, allocations: 1.359 kB / 474 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5495, allocations: 0 / 474 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.355e-05/0.5495, allocations: 131 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5495, allocations: 4 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.5496, allocations: 3.938 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5496, allocations: 0 / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.5496, allocations: 1.359 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5496, allocations: 0 / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5496, allocations: 7.953 kB / 474.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.666e-05/0.5497, allocations: 68.88 kB / 474.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.5497, allocations: 81.02 kB / 474.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.5497, allocations: 1.594 kB / 474.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.682e-05/0.5498, allocations: 4 kB / 474.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-06/0.5498, allocations: 0 / 474.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5498, allocations: 0 / 474.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.5498, allocations: 92.02 kB / 474.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5498, allocations: 4 kB / 474.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.55, allocations: 5.781 kB / 474.3 MB, free: 11.95 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: 3 (step.y,assignClock1.u,assignClock1.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.0002435/0.5503, allocations: 0.6054 MB / 475 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.57e-05/0.5504, allocations: 19.19 kB / 475 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5504, allocations: 4.25 kB / 475 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.5504, allocations: 1.641 kB / 475 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.5506, allocations: 11.56 kB / 475 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.5508, allocations: 89.52 kB / 475.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.551, allocations: 0.6829 MB / 475.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.378e-05/0.551, allocations: 1.359 kB / 475.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.551, allocations: 11.12 kB / 475.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.551, allocations: 0 / 475.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.5703, allocations: 0.6987 MB / 476.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.5706, allocations: 161.1 kB / 476.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.397/1.967, allocations: 0.625 kB / 476.6 MB, free: 9.887 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat