Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009773/0.0009772, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 87.56 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.943e-05, allocations: 0 / 343.9 MB, free: 4.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.42 MB / 394.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/0.4262, allocations: 81.01 MB / 475.4 MB, free: 6.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4264, allocations: 79.95 kB / 475.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.4439, allocations: 6.534 MB / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4439, allocations: 0 / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.444, allocations: 8 kB / 482 MB, free: 15.86 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005926/0.4446, allocations: 472.6 kB / 482.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4446, allocations: 12.03 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.4447, allocations: 46.48 kB / 482.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.4447, allocations: 15.81 kB / 482.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.4452, allocations: 269.6 kB / 482.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4452, allocations: 3.984 kB / 482.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.4452, allocations: 8 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.4455, allocations: 146.7 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4455, allocations: 0 / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4456, allocations: 11.94 kB / 482.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4456, allocations: 0 / 482.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.4457, allocations: 31.94 kB / 483 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.4462, allocations: 362.5 kB / 483.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.4464, allocations: 103.9 kB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.4464, allocations: 58.58 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4465, allocations: 0 / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.4466, allocations: 71.39 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.4466, allocations: 0 / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000257/0.4469, allocations: 117.3 kB / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.447, allocations: 140.5 kB / 483.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.4473, allocations: 237 kB / 484 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.4473, allocations: 29.7 kB / 484.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.4474, allocations: 116.1 kB / 484.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.4474, allocations: 19.86 kB / 484.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.4474, allocations: 4 kB / 484.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4475, allocations: 327.8 kB / 484.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.4476, allocations: 16 kB / 484.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.4477, allocations: 74 kB / 484.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.4477, allocations: 24.05 kB / 484.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4477, allocations: 4.031 kB / 484.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001626/0.4479, allocations: 117.3 kB / 484.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4479, allocations: 7.984 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4479, allocations: 0 / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.448, allocations: 4 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.4481, allocations: 15.94 kB / 484.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4481, allocations: 4 kB / 484.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.4482, allocations: 7.984 kB / 484.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4482, allocations: 8.125 kB / 484.8 MB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.947e-05/0.4483, allocations: 109 kB / 484.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/0.4484, allocations: 69.31 kB / 485 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.4486, allocations: 111.4 kB / 485.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4486, allocations: 4 kB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4486, allocations: 0 / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4486, allocations: 3.984 kB / 485.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4488, allocations: 229.5 kB / 485.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4488, allocations: 4.062 kB / 485.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.4489, allocations: 8 kB / 485.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4489, allocations: 0 / 485.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.4489, allocations: 11.95 kB / 485.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4489, allocations: 3.938 kB / 485.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4489, allocations: 3.938 kB / 485.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.4492, allocations: 186 kB / 485.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4493, allocations: 112.8 kB / 485.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4493, allocations: 4 kB / 485.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.4494, allocations: 8 kB / 485.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.4494, allocations: 11.97 kB / 485.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4494, allocations: 4 kB / 485.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.4496, allocations: 193.4 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4496, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.4499, allocations: 32 kB / 485.9 MB, free: 11.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001356/0.4513, allocations: 1.145 MB / 487 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4515, allocations: 63.92 kB / 487.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4515, allocations: 0 / 487.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.4515, allocations: 27.94 kB / 487.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.4518, allocations: 52.88 kB / 487.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.4524, allocations: 306.7 kB / 487.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4528, allocations: 0.7361 MB / 488.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.437e-05/0.4528, allocations: 25.2 kB / 488.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.4529, allocations: 43.42 kB / 488.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4529, allocations: 0 / 488.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.4679, allocations: 4.048 MB / 492.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.4681, allocations: 212 kB / 492.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.093, allocations: 0 / 492.5 MB, free: 4.957 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat