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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008206/0.0008205, allocations: 88.39 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008702/0.0008703, allocations: 183.1 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002597, allocations: 4 kB / 300.9 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.12, allocations: 50.41 MB / 351.3 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002512/0.1226, allocations: 1.562 MB / 352.9 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1244, allocations: 0.9556 MB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1246, allocations: 7.938 kB / 353.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.1252, allocations: 129.1 kB / 354 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1255, allocations: 95.69 kB / 354.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.126, allocations: 169 kB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1262, allocations: 171.4 kB / 354.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1264, allocations: 29.47 kB / 354.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1265, allocations: 59.7 kB / 354.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1266, allocations: 67.69 kB / 354.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1266, allocations: 7.938 kB / 354.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1267, allocations: 39.98 kB / 354.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.1268, allocations: 35.84 kB / 354.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1269, allocations: 53.58 kB / 354.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1271, allocations: 155.9 kB / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1271, allocations: 0 / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1271, allocations: 0 / 354.8 MB, free: 396 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1271, allocations: 0 / 354.8 MB, free: 396 kB / 286.1 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.0007344/0.1279, allocations: 484.1 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1279, allocations: 8.031 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.128, allocations: 46.55 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.128, allocations: 19.77 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1283, allocations: 253.7 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1284, allocations: 12 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1284, allocations: 8 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1287, allocations: 146.7 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1287, allocations: 0 / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1288, allocations: 0 / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1288, allocations: 7.953 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.1289, allocations: 31.92 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1294, allocations: 362.4 kB / 356.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1296, allocations: 103.9 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.1297, allocations: 42.56 kB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1297, allocations: 7.938 kB / 356.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.1299, allocations: 79.41 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1299, allocations: 0 / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003668/0.1303, allocations: 141.5 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.1304, allocations: 140.5 kB / 356.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.1306, allocations: 257 kB / 357 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1307, allocations: 29.7 kB / 357 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.1307, allocations: 116.1 kB / 357.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.1308, allocations: 23.73 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.1308, allocations: 0 / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1309, allocations: 326.8 kB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.131, allocations: 27.98 kB / 357.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.1311, allocations: 65.94 kB / 357.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/0.1312, allocations: 27.94 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1312, allocations: 8.031 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001947/0.1314, allocations: 109.4 kB / 357.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1314, allocations: 7.953 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1314, allocations: 4 kB / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1314, allocations: 0 / 357.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.1315, allocations: 23.86 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1315, allocations: 0 / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.1316, allocations: 12.03 kB / 357.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1316, allocations: 4.312 kB / 357.7 MB, free: 13.19 MB / 302.1 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.000138/0.1318, allocations: 142.8 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.1319, allocations: 65.44 kB / 357.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.1319, allocations: 29.66 kB / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1319, allocations: 0 / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1319, allocations: 7.938 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1319, allocations: 0 / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1322, allocations: 221.7 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1322, allocations: 0 / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.1322, allocations: 4 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1322, allocations: 11.92 kB / 358.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1322, allocations: 7.984 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1322, allocations: 3.953 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1323, allocations: 4 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1325, allocations: 150.5 kB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.1326, allocations: 112.8 kB / 358.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1326, allocations: 4 kB / 358.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.1327, allocations: 8 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1327, allocations: 11.94 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1328, allocations: 4 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.133, allocations: 192.5 kB / 358.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.133, allocations: 0 / 358.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1332, allocations: 28 kB / 358.7 MB, free: 12.09 MB / 302.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001349/0.1346, allocations: 1.002 MB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1348, allocations: 71.84 kB / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1348, allocations: 0 / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.806e-05/0.1349, allocations: 23.98 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1352, allocations: 60.38 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1368, allocations: 0.9692 MB / 360.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1371, allocations: 0.7361 MB / 361.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.523e-05/0.1372, allocations: 17.55 kB / 361.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.1373, allocations: 43.42 kB / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1373, allocations: 0 / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.1538, allocations: 4.008 MB / 365.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.1541, allocations: 248.1 kB / 365.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.228, allocations: 0 / 365.9 MB, free: 5.121 MB / 302.1 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