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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 175.2 kB / 13.63 MB, free: 1.684 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.363/1.363, allocations: 221.4 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008595, allocations: 88.03 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.462e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0958/0.09585, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2846/0.3805, allocations: 76.74 MB / 471.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.3808, allocations: 81.67 kB / 471.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00378/0.3846, allocations: 1.314 MB / 472.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3846, allocations: 4 kB / 472.5 MB, free: 9.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.3846, allocations: 0 / 472.5 MB, free: 9.383 MB / 346.7 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.0003656/0.385, allocations: 355.3 kB / 472.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.385, allocations: 12.02 kB / 472.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.3851, allocations: 40.06 kB / 472.9 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.3851, allocations: 11.8 kB / 472.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3853, allocations: 179 kB / 473.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3853, allocations: 11.94 kB / 473.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3853, allocations: 0 / 473.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3856, allocations: 135.1 kB / 473.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3856, allocations: 0 / 473.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3856, allocations: 4 kB / 473.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3856, allocations: 7.953 kB / 473.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.3857, allocations: 16 kB / 473.2 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.3858, allocations: 165.6 kB / 473.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3859, allocations: 131.7 kB / 473.5 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.386, allocations: 24.98 kB / 473.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.386, allocations: 0 / 473.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.386, allocations: 38.55 kB / 473.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3861, allocations: 0 / 473.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001421/0.3862, allocations: 54.58 kB / 473.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3863, allocations: 63.39 kB / 473.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.3863, allocations: 101 kB / 473.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3864, allocations: 29.64 kB / 473.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.3864, allocations: 88.14 kB / 473.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.3864, allocations: 3.906 kB / 473.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.3864, allocations: 4 kB / 473.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.3865, allocations: 322.8 kB / 474.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.3865, allocations: 8 kB / 474.2 MB, free: 7.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.3866, allocations: 41.16 kB / 474.3 MB, free: 7.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.3866, allocations: 11.98 kB / 474.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3866, allocations: 4 kB / 474.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.33e-05/0.3867, allocations: 69.56 kB / 474.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3867, allocations: 8 kB / 474.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3867, allocations: 4.609 kB / 474.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.3868, allocations: 192 / 474.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.3868, allocations: 16 kB / 474.4 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3868, allocations: 8 kB / 474.4 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.3869, allocations: 3.938 kB / 474.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3869, allocations: 11.95 kB / 474.4 MB, free: 7.18 MB / 346.7 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 () * 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 5.836e-05/0.3869, allocations: 109 kB / 474.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.387, allocations: 57.55 kB / 474.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.3871, allocations: 20.61 kB / 474.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3871, allocations: 0 / 474.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3871, allocations: 0 / 474.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3871, allocations: 4 kB / 474.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.087e-05/0.3872, allocations: 161.6 kB / 474.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3872, allocations: 4 kB / 474.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.3873, allocations: 11.92 kB / 474.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3873, allocations: 0 / 474.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3873, allocations: 0 / 474.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3873, allocations: 4 kB / 474.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3873, allocations: 0 / 474.8 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.3874, allocations: 92.98 kB / 474.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.3875, allocations: 88.98 kB / 475 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3875, allocations: 4 kB / 475 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.3876, allocations: 11.98 kB / 475 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-06/0.3876, allocations: 7.984 kB / 475 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3876, allocations: 0 / 475 MB, free: 6.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.454e-05/0.3877, allocations: 91.73 kB / 475.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3877, allocations: 0 / 475.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.3879, allocations: 12 kB / 475.1 MB, free: 6.41 MB / 346.7 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 () * 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.0004058/0.3883, allocations: 0.6516 MB / 475.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.3884, allocations: 31.94 kB / 475.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3884, allocations: 448 / 475.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.3884, allocations: 4 kB / 475.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3886, allocations: 31.97 kB / 475.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.3889, allocations: 118.5 kB / 475.9 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3892, allocations: 0.6887 MB / 476.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.435e-05/0.3892, allocations: 192 / 476.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3893, allocations: 19.42 kB / 476.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3893, allocations: 4 kB / 476.6 MB, free: 4.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.4007, allocations: 1.417 MB / 478.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.4009, allocations: 170.7 kB / 478.2 MB, free: 3.285 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/1.837, allocations: 0 / 478.2 MB, free: 3.285 MB / 346.7 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