Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.001013/0.001013, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001127/0.001127, allocations: 183.9 kB / 17.21 MB, free: 6.336 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.636/1.636, allocations: 223.3 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003388, allocations: 6.625 kB / 300.9 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 50.43 MB / 351.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001757/0.1255, allocations: 1.193 MB / 352.5 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007157/0.1262, allocations: 435.3 kB / 353 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.1263, allocations: 0 / 353 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.1264, allocations: 3.984 kB / 353 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1265, allocations: 7.938 kB / 353 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1267, allocations: 31.91 kB / 353 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.1268, allocations: 47.83 kB / 353 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.1269, allocations: 8 kB / 353.1 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.1269, allocations: 19.92 kB / 353.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.127, allocations: 19.92 kB / 353.1 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.127, allocations: 7.938 kB / 353.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.127, allocations: 0 / 353.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.127, allocations: 3.938 kB / 353.1 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.1271, allocations: 33.7 kB / 353.1 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.467e-05/0.1272, allocations: 35.92 kB / 353.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1272, allocations: 0 / 353.2 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1272, allocations: 4 kB / 353.2 MB, free: 9.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1272, allocations: 0 / 353.2 MB, free: 9.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005556/0.1278, allocations: 367.2 kB / 353.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1278, allocations: 8.031 kB / 353.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.1279, allocations: 30.56 kB / 353.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.1279, allocations: 15.8 kB / 353.6 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1281, allocations: 183 kB / 353.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1282, allocations: 0 / 353.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1282, allocations: 8 kB / 353.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.1285, allocations: 139.2 kB / 353.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1286, allocations: 0 / 353.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1286, allocations: 4 kB / 353.9 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1286, allocations: 7.891 kB / 353.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1287, allocations: 35.91 kB / 354 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.1289, allocations: 169.6 kB / 354.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.1292, allocations: 135.7 kB / 354.3 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.1293, allocations: 36.84 kB / 354.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1293, allocations: 3.984 kB / 354.3 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1293, allocations: 30.56 kB / 354.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1293, allocations: 0 / 354.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000265/0.1296, allocations: 89.61 kB / 354.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1296, allocations: 55.41 kB / 354.5 MB, free: 8.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1298, allocations: 117.8 kB / 354.6 MB, free: 8.117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1298, allocations: 25.7 kB / 354.6 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.1298, allocations: 92.08 kB / 354.7 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.1299, allocations: 3.906 kB / 354.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.1299, allocations: 0 / 354.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.1301, allocations: 322.8 kB / 355 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.1301, allocations: 4 kB / 355 MB, free: 7.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.1302, allocations: 45.14 kB / 355.1 MB, free: 7.598 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.1302, allocations: 15.94 kB / 355.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1302, allocations: 0 / 355.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001111/0.1303, allocations: 77.59 kB / 355.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1304, allocations: 4 kB / 355.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1304, allocations: 0 / 355.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1304, allocations: 4 kB / 355.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.1305, allocations: 8 kB / 355.2 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1305, allocations: 0 / 355.2 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.1305, allocations: 15.94 kB / 355.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.1305, allocations: 0 / 355.2 MB, free: 7.469 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001125/0.1306, allocations: 121.9 kB / 355.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.1308, allocations: 69.91 kB / 355.4 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.1308, allocations: 12.38 kB / 355.4 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1308, allocations: 0 / 355.4 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1309, allocations: 3.984 kB / 355.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1309, allocations: 0 / 355.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.131, allocations: 173.5 kB / 355.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.131, allocations: 0 / 355.6 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.1311, allocations: 4 kB / 355.6 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1311, allocations: 3.984 kB / 355.6 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1311, allocations: 8 kB / 355.6 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1311, allocations: 0 / 355.6 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1311, allocations: 0 / 355.6 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1313, allocations: 104.9 kB / 355.7 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1314, allocations: 81.05 kB / 355.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1314, allocations: 4 kB / 355.8 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1315, allocations: 19.98 kB / 355.8 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-06/0.1315, allocations: 3.938 kB / 355.8 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1315, allocations: 0 / 355.8 MB, free: 6.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.449e-05/0.1316, allocations: 95.25 kB / 355.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 355.9 MB, free: 6.672 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.1318, allocations: 8 kB / 355.9 MB, free: 6.664 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006621/0.1325, allocations: 0.6748 MB / 356.6 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1326, allocations: 39.92 kB / 356.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1326, allocations: 0 / 356.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.1326, allocations: 0 / 356.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.133, allocations: 40.45 kB / 356.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.1338, allocations: 451.1 kB / 357.1 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1341, allocations: 0.6848 MB / 357.8 MB, free: 4.664 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.1342, allocations: 4.172 kB / 357.8 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1342, allocations: 15.44 kB / 357.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1342, allocations: 4 kB / 357.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.1462, allocations: 1.43 MB / 359.2 MB, free: 3.398 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.1464, allocations: 204 kB / 359.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.017, allocations: 0 / 359.4 MB, free: 3.16 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat