Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001213/0.001213, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009307/0.0009307, allocations: 94.86 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.803e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 51.47 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5064, allocations: 76.9 MB / 472.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/0.5069, allocations: 76.86 kB / 472.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005211/0.5122, allocations: 1.367 MB / 473.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5122, allocations: 4 kB / 473.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.5122, allocations: 0 / 473.6 MB, free: 13.39 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.000413/0.5126, allocations: 362.9 kB / 474 MB, free: 13.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.5127, allocations: 8.781 kB / 474 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.5128, allocations: 6.812 kB / 474 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.5129, allocations: 180.3 kB / 474.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.513, allocations: 0.8594 kB / 474.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.513, allocations: 4.75 kB / 474.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.5131, allocations: 32.97 kB / 474.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.5134, allocations: 129 kB / 474.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5134, allocations: 0.6562 kB / 474.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5134, allocations: 0 / 474.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5134, allocations: 0 / 474.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.5135, allocations: 138.5 kB / 474.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.5137, allocations: 128.6 kB / 474.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.5138, allocations: 24.69 kB / 474.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5138, allocations: 0 / 474.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.5138, allocations: 38.2 kB / 474.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.5138, allocations: 3.984 kB / 474.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001652/0.514, allocations: 61.77 kB / 474.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.514, allocations: 52.11 kB / 474.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.5141, allocations: 112.7 kB / 474.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5141, allocations: 25.7 kB / 474.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.5142, allocations: 84.75 kB / 475 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.5142, allocations: 4.828 kB / 475 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.5142, allocations: 0 / 475 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.5143, allocations: 315.6 kB / 475.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.5143, allocations: 4 kB / 475.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.5143, allocations: 46 kB / 475.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.5144, allocations: 13.42 kB / 475.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5144, allocations: 4 kB / 475.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.25e-05/0.5145, allocations: 61.05 kB / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5145, allocations: 8.75 kB / 475.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5145, allocations: 0 / 475.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5145, allocations: 4 kB / 475.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.5146, allocations: 9.438 kB / 475.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5146, allocations: 12.33 kB / 475.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.5146, allocations: 9.625 kB / 475.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.5147, allocations: 4 kB / 475.5 MB, free: 11.48 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 6.166e-05/0.5147, allocations: 109.4 kB / 475.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.157e-05/0.5148, allocations: 60.58 kB / 475.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.5148, allocations: 7.906 kB / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.5149, allocations: 12.77 kB / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5149, allocations: 2.5 kB / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5149, allocations: 4.703 kB / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5149, allocations: 0 / 475.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.424e-05/0.515, allocations: 138.9 kB / 475.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.515, allocations: 0 / 475.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.515, allocations: 6.25 kB / 475.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5151, allocations: 0 / 475.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.5151, allocations: 8.75 kB / 475.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5151, allocations: 0 / 475.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5151, allocations: 3.953 kB / 475.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.5152, allocations: 85.12 kB / 475.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.5152, allocations: 82.47 kB / 476 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.5153, allocations: 4 kB / 476 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.5154, allocations: 17.95 kB / 476 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.5154, allocations: 0 / 476 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.5154, allocations: 3.453 kB / 476 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.5154, allocations: 91.44 kB / 476.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5154, allocations: 0 / 476.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.5157, allocations: 8.656 kB / 476.1 MB, free: 10.83 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.0003414/0.516, allocations: 0.6381 MB / 476.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.5161, allocations: 31.53 kB / 476.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5161, allocations: 0 / 476.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.5162, allocations: 0 / 476.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.5164, allocations: 33.53 kB / 476.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.5167, allocations: 115.1 kB / 476.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.5169, allocations: 0.6882 MB / 477.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.5169, allocations: 4.75 kB / 477.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.517, allocations: 16.88 kB / 477.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.517, allocations: 0 / 477.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.5381, allocations: 1.093 MB / 478.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.5385, allocations: 159.5 kB / 478.9 MB, free: 8.492 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.006, allocations: 0 / 478.9 MB, free: 8.492 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat