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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009674/0.0009675, allocations: 96.98 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 246 MB, free: 11.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 4 kB / 306.8 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 51.49 MB / 358.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001899/0.1443, allocations: 1.199 MB / 359.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.1451, allocations: 471.2 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.1452, allocations: 0 / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1452, allocations: 11.86 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1454, allocations: 19.92 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1456, allocations: 19.97 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.1457, allocations: 51.78 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.1458, allocations: 12 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.1458, allocations: 19.92 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.1459, allocations: 15.92 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1459, allocations: 4 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.1459, allocations: 0 / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.146, allocations: 11.97 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.146, allocations: 33.64 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.19e-05/0.1461, allocations: 28.22 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1461, allocations: 4 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1461, allocations: 0 / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1461, allocations: 4 kB / 360.2 MB, free: 12.03 MB / 302.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.0005/0.1466, allocations: 362 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1467, allocations: 8.031 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1467, allocations: 38.56 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.1467, allocations: 3.906 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1469, allocations: 186.9 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1469, allocations: 4 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.147, allocations: 11.89 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.1473, allocations: 143.1 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1473, allocations: 3.984 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1473, allocations: 0 / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1473, allocations: 4 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.1474, allocations: 31.98 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.1476, allocations: 161.7 kB / 361.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1478, allocations: 131.7 kB / 361.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.1479, allocations: 44.72 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1479, allocations: 7.938 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1479, allocations: 38.56 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1479, allocations: 0 / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002502/0.1482, allocations: 85.67 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.1483, allocations: 51.41 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1484, allocations: 117.8 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1484, allocations: 29.7 kB / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.1484, allocations: 80.14 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.1485, allocations: 7.984 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1485, allocations: 3.938 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1486, allocations: 314.8 kB / 362 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.1486, allocations: 8 kB / 362 MB, free: 9.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.1487, allocations: 49.45 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.1487, allocations: 8 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1487, allocations: 4 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001024/0.1488, allocations: 73.94 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1488, allocations: 7.953 kB / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1489, allocations: 4 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1489, allocations: 0 / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.1489, allocations: 19.92 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1489, allocations: 160 / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.149, allocations: 11.84 kB / 362.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.149, allocations: 11.94 kB / 362.2 MB, free: 9.738 MB / 302.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 9.262e-05/0.1491, allocations: 109.8 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1492, allocations: 77.67 kB / 362.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1493, allocations: 12.33 kB / 362.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1493, allocations: 0 / 362.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1493, allocations: 4 kB / 362.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1493, allocations: 3.984 kB / 362.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1494, allocations: 161.7 kB / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1494, allocations: 0 / 362.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.1495, allocations: 11.98 kB / 362.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1495, allocations: 0 / 362.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1495, allocations: 4 kB / 362.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.1495, allocations: 7.938 kB / 362.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1495, allocations: 0 / 362.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.1497, allocations: 97.02 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.1498, allocations: 77.11 kB / 362.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1498, allocations: 8 kB / 362.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.1499, allocations: 15.98 kB / 362.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-06/0.1499, allocations: 7.891 kB / 362.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1499, allocations: 7.938 kB / 362.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.15, allocations: 87.27 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.15, allocations: 0 / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.1502, allocations: 8 kB / 362.9 MB, free: 8.945 MB / 302.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.0004638/0.1506, allocations: 0.6633 MB / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1508, allocations: 39.92 kB / 363.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1508, allocations: 0 / 363.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1508, allocations: 0 / 363.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.1511, allocations: 51.72 kB / 363.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.1517, allocations: 458.7 kB / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.152, allocations: 0.6849 MB / 364.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.152, allocations: 3.938 kB / 364.8 MB, free: 6.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.152, allocations: 15.44 kB / 364.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1521, allocations: 0 / 364.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.1639, allocations: 1.426 MB / 366.2 MB, free: 5.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003571/0.1644, allocations: 207.7 kB / 366.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.174, allocations: 0 / 366.4 MB, free: 5.434 MB / 302.1 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