Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",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.001808/0.001807, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.463/1.463, 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.0009761/0.0009761, allocations: 98.77 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002955/0.0002956, allocations: 4 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2763, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3854, allocations: 81.6 MB / 483.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.3857, allocations: 83.95 kB / 483.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02429/0.41, allocations: 8.876 MB / 492.1 MB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.41, allocations: 0 / 492.1 MB, free: 5.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4101, allocations: 4 kB / 492.1 MB, free: 5.879 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007219/0.4108, allocations: 0.539 MB / 492.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4108, allocations: 12.03 kB / 492.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.4109, allocations: 50.5 kB / 492.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.411, allocations: 27.62 kB / 492.8 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.4114, allocations: 273.6 kB / 493 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4114, allocations: 16 kB / 493.1 MB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.4114, allocations: 8 kB / 493.1 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.412, allocations: 297.2 kB / 493.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.412, allocations: 0 / 493.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.412, allocations: 11.95 kB / 493.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.412, allocations: 0 / 493.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.4121, allocations: 63.91 kB / 493.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.4127, allocations: 382.5 kB / 493.8 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.413, allocations: 184 kB / 494 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4131, allocations: 11.92 kB / 494 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.4132, allocations: 79.52 kB / 494.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.4132, allocations: 0 / 494.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004571/0.4137, allocations: 225.7 kB / 494.3 MB, free: 3.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.4138, allocations: 144.6 kB / 494.4 MB, free: 3.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.4141, allocations: 252 kB / 494.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4141, allocations: 37.64 kB / 494.7 MB, free: 3.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.4142, allocations: 112.7 kB / 494.8 MB, free: 2.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.4142, allocations: 27.7 kB / 494.9 MB, free: 2.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4143, allocations: 15.94 kB / 494.9 MB, free: 2.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4144, allocations: 330.8 kB / 495.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.4145, allocations: 40.44 kB / 495.2 MB, free: 2.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.4147, allocations: 164.8 kB / 495.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.4148, allocations: 63.95 kB / 495.5 MB, free: 2.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4148, allocations: 0 / 495.5 MB, free: 2.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003471/0.4152, allocations: 228.9 kB / 495.7 MB, free: 1.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4152, allocations: 4 kB / 495.7 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4152, allocations: 4.531 kB / 495.7 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.4152, allocations: 8 kB / 495.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.4153, allocations: 31.92 kB / 495.7 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4154, allocations: 7.938 kB / 495.7 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4155, allocations: 19.92 kB / 495.8 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4155, allocations: 12 kB / 495.8 MB, free: 1.902 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table1.combiTimeTable.nextTimeEvent,sample1.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001708/0.4157, allocations: 166.9 kB / 495.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4159, allocations: 129.3 kB / 496.1 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4161, allocations: 127.7 kB / 496.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4161, allocations: 4 kB / 496.2 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4162, allocations: 0 / 496.2 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4162, allocations: 0 / 496.2 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.4164, allocations: 253.4 kB / 496.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.4164, allocations: 0 / 496.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.4165, allocations: 12.3 kB / 496.4 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4165, allocations: 7.953 kB / 496.4 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4165, allocations: 4 kB / 496.5 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.4165, allocations: 8 kB / 496.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4165, allocations: 7.938 kB / 496.5 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.4169, allocations: 253.4 kB / 496.7 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.417, allocations: 120.8 kB / 496.8 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.4171, allocations: 8 kB / 496.8 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.4172, allocations: 16.08 kB / 496.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4172, allocations: 7.938 kB / 496.9 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4172, allocations: 8 kB / 496.9 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.4174, allocations: 204.4 kB / 497.1 MB, free: 480 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4174, allocations: 0 / 497.1 MB, free: 480 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000292/0.4177, allocations: 48 kB / 497.1 MB, free: 432 kB / 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: 20 ($whenCondition1,sample1.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001704/0.4195, allocations: 1.327 MB / 498.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.4198, allocations: 147.8 kB / 498.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4198, allocations: 0 / 498.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.4199, allocations: 31.97 kB / 498.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4203, allocations: 100.3 kB / 498.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.4231, allocations: 3.82 MB / 0.4908 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4235, allocations: 0.7563 MB / 0.4915 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.4236, allocations: 38.3 kB / 0.4915 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4237, allocations: 75.34 kB / 0.4916 GB, free: 10.09 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4237, allocations: 0 / 0.4916 GB, free: 10.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.4416, allocations: 5.029 MB / 0.4965 GB, free: 5.238 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.4419, allocations: 227.8 kB / 0.4967 GB, free: 5.004 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.348, allocations: 0 / 0.4967 GB, free: 5.004 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat does not exist to compare? outputFormat=mat