Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001339/0.001339, allocations: 92.41 kB / 16.3 MB, free: 5.996 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.001673/0.001673, allocations: 183.3 kB / 17.2 MB, free: 5.91 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.555/1.555, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 7.188 kB / 300.8 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 50.43 MB / 351.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00206/0.1262, allocations: 1.197 MB / 352.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004202/0.1267, allocations: 135.5 kB / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1268, allocations: 0 / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.1268, allocations: 4 kB / 352.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.127, allocations: 7.938 kB / 352.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1274, allocations: 31.84 kB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1275, allocations: 27.91 kB / 352.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1276, allocations: 4 kB / 352.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.1276, allocations: 7.984 kB / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.1277, allocations: 15.92 kB / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1277, allocations: 0 / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1277, allocations: 0 / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.1278, allocations: 15.92 kB / 352.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1278, allocations: 33.7 kB / 352.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.1279, allocations: 15.95 kB / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1279, allocations: 0 / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1279, allocations: 4 kB / 352.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1279, allocations: 0 / 352.7 MB, free: 10.07 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007039/0.1286, allocations: 347.1 kB / 353.1 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.1287, allocations: 8.031 kB / 353.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.1288, allocations: 38.56 kB / 353.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1288, allocations: 15.84 kB / 353.1 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1292, allocations: 186.9 kB / 353.3 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.1292, allocations: 4 kB / 353.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1293, allocations: 0 / 353.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.1296, allocations: 85.05 kB / 353.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1296, allocations: 3.938 kB / 353.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1297, allocations: 8 kB / 353.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1297, allocations: 3.953 kB / 353.4 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.102e-05/0.1298, allocations: 15.94 kB / 353.4 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.1303, allocations: 261.8 kB / 353.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.1304, allocations: 37.22 kB / 353.7 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1304, allocations: 8 kB / 353.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1305, allocations: 34.56 kB / 353.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1305, allocations: 0 / 353.8 MB, free: 8.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002506/0.1307, allocations: 69.7 kB / 353.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.1308, allocations: 81.09 kB / 353.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.131, allocations: 132.1 kB / 354 MB, free: 8.535 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.131, allocations: 25.7 kB / 354.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1311, allocations: 84.14 kB / 354.1 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.1311, allocations: 0 / 354.1 MB, free: 8.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.1311, allocations: 0 / 354.1 MB, free: 8.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1312, allocations: 314.8 kB / 354.5 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.1313, allocations: 12.02 kB / 354.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.1313, allocations: 13.72 kB / 354.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.1314, allocations: 12 kB / 354.5 MB, free: 8.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1314, allocations: 0 / 354.5 MB, free: 8.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.82e-05/0.1315, allocations: 49.66 kB / 354.5 MB, free: 8.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1315, allocations: 12 kB / 354.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1315, allocations: 0 / 354.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1315, allocations: 3.953 kB / 354.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.056e-05/0.1316, allocations: 0 / 354.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1316, allocations: 0 / 354.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.1316, allocations: 11.98 kB / 354.6 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1316, allocations: 0 / 354.6 MB, free: 7.977 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001001/0.1317, allocations: 117.8 kB / 354.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.1318, allocations: 41.7 kB / 354.7 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.1319, allocations: 11.52 kB / 354.7 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1319, allocations: 0 / 354.7 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1319, allocations: 3.953 kB / 354.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1319, allocations: 0 / 354.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1321, allocations: 161.7 kB / 354.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1321, allocations: 3.938 kB / 354.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.1321, allocations: 11.98 kB / 354.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1321, allocations: 3.938 kB / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1321, allocations: 0 / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1321, allocations: 0 / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1321, allocations: 4.031 kB / 354.9 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.1323, allocations: 169.9 kB / 355.1 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.1324, allocations: 89 kB / 355.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1325, allocations: 4 kB / 355.2 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.1325, allocations: 4.031 kB / 355.2 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1326, allocations: 3.953 kB / 355.2 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.1326, allocations: 4 kB / 355.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.1327, allocations: 105.4 kB / 355.3 MB, free: 7.141 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1327, allocations: 0 / 355.3 MB, free: 7.141 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1329, allocations: 4 kB / 355.3 MB, free: 7.137 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000491/0.1334, allocations: 0.7682 MB / 356.1 MB, free: 6.336 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1335, allocations: 15.98 kB / 356.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1335, allocations: 0 / 356.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.1335, allocations: 12.16 kB / 356.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1339, allocations: 19.83 kB / 356.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.1346, allocations: 0.5614 MB / 356.7 MB, free: 5.672 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1349, allocations: 0.6887 MB / 357.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.352e-05/0.1349, allocations: 0 / 357.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.135, allocations: 23.36 kB / 357.4 MB, free: 4.934 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.135, allocations: 0 / 357.4 MB, free: 4.934 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1481, allocations: 1.119 MB / 358.5 MB, free: 3.98 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.1485, allocations: 201.7 kB / 358.7 MB, free: 3.742 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.089, allocations: 0 / 358.7 MB, free: 3.742 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat