Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.001674/0.001674, allocations: 180.2 kB / 16.39 MB, free: 5.766 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.424/1.424, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, allocations: 98.44 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002983, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2725, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3797, allocations: 81.07 MB / 482.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.38, allocations: 83.95 kB / 482.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.3974, allocations: 6.56 MB / 489.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3974, allocations: 192 / 489.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.3975, allocations: 7.938 kB / 489.3 MB, free: 8.734 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.0007169/0.3982, allocations: 0.504 MB / 489.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.3983, allocations: 16.03 kB / 489.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/0.3983, allocations: 34.56 kB / 489.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.3984, allocations: 23.7 kB / 489.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3989, allocations: 257.7 kB / 490.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.3989, allocations: 8 kB / 490.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3989, allocations: 4 kB / 490.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.3993, allocations: 154.6 kB / 490.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3993, allocations: 0 / 490.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3993, allocations: 11.95 kB / 490.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3993, allocations: 4 kB / 490.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3994, allocations: 35.92 kB / 490.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.4, allocations: 362.5 kB / 490.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.4002, allocations: 111.9 kB / 490.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.4003, allocations: 19.94 kB / 490.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.4004, allocations: 71.52 kB / 490.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.4004, allocations: 0 / 490.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000369/0.4008, allocations: 141.4 kB / 491 MB, free: 6.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.4009, allocations: 140.6 kB / 491.2 MB, free: 6.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.4012, allocations: 244 kB / 491.4 MB, free: 6.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.4012, allocations: 29.7 kB / 491.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.4013, allocations: 112.1 kB / 491.5 MB, free: 6.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4013, allocations: 19.75 kB / 491.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.4013, allocations: 4 kB / 491.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4015, allocations: 326.8 kB / 491.9 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.4015, allocations: 20 kB / 491.9 MB, free: 5.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.4016, allocations: 81.92 kB / 492 MB, free: 5.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.4017, allocations: 23.94 kB / 492 MB, free: 5.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4017, allocations: 0 / 492 MB, free: 5.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001977/0.4019, allocations: 121.4 kB / 492.1 MB, free: 5.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4019, allocations: 7.953 kB / 492.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4019, allocations: 4 kB / 492.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.402, allocations: 0 / 492.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.402, allocations: 23.92 kB / 492.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4021, allocations: 0 / 492.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.4021, allocations: 4 kB / 492.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4021, allocations: 4 kB / 492.2 MB, free: 5.543 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,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001368/0.4023, allocations: 143.6 kB / 492.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.4024, allocations: 69.34 kB / 492.4 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.4026, allocations: 115.3 kB / 492.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4026, allocations: 4 kB / 492.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4026, allocations: 320 / 492.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4027, allocations: 0 / 492.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4029, allocations: 233.6 kB / 492.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4029, allocations: 4 kB / 492.7 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.4029, allocations: 16.05 kB / 492.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4029, allocations: 0 / 492.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.4029, allocations: 0 / 492.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.403, allocations: 7.953 kB / 492.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.403, allocations: 0 / 492.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4032, allocations: 186 kB / 492.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.4033, allocations: 120.7 kB / 493.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.4034, allocations: 8 kB / 493.1 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.4034, allocations: 4 kB / 493.1 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.4035, allocations: 8.078 kB / 493.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.4035, allocations: 7.938 kB / 493.1 MB, free: 4.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.4037, allocations: 196.5 kB / 493.3 MB, free: 4.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4037, allocations: 0 / 493.3 MB, free: 4.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.404, allocations: 36 kB / 493.3 MB, free: 4.277 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,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * 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.001423/0.4054, allocations: 1.189 MB / 494.5 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4056, allocations: 67.91 kB / 494.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4056, allocations: 0 / 494.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.4057, allocations: 31.92 kB / 494.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.4061, allocations: 51 kB / 494.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4078, allocations: 1.584 MB / 496.2 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.4081, allocations: 0.7361 MB / 497 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.165e-05/0.4082, allocations: 29.56 kB / 497 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.449e-05/0.4083, allocations: 43.42 kB / 497 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4083, allocations: 0 / 497 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.4257, allocations: 4.093 MB / 0.4894 GB, free: 12.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/0.426, allocations: 229.5 kB / 0.4896 GB, free: 12.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.136, allocations: 0 / 0.4896 GB, free: 12.41 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat does not exist to compare? outputFormat=mat