Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.00157, allocations: 180.9 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 94.84 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1021/0.1021, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005386, allocations: 16.69 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09374, allocations: 50.36 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.2353, allocations: 78.09 MB / 0.5084 GB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/0.2358, allocations: 79.95 kB / 0.5084 GB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008433/0.2443, allocations: 1.305 MB / 0.5097 GB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2443, allocations: 0 / 0.5097 GB, free: 11.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.2444, allocations: 3.984 kB / 0.5097 GB, free: 11.25 MB / 362.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.0008767/0.2453, allocations: 367.2 kB / 0.5101 GB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.2453, allocations: 8.031 kB / 0.5101 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.546e-05/0.2454, allocations: 34.56 kB / 0.5101 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.2455, allocations: 11.91 kB / 0.5101 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.2458, allocations: 183 kB / 0.5103 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2459, allocations: 3.953 kB / 0.5103 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.2459, allocations: 4 kB / 0.5103 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.2467, allocations: 147.1 kB / 0.5104 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2467, allocations: 8 kB / 0.5104 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2467, allocations: 3.938 kB / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2467, allocations: 0 / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.247, allocations: 27.98 kB / 0.5105 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.2472, allocations: 161.7 kB / 0.5106 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2475, allocations: 143.7 kB / 0.5108 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.2476, allocations: 3.953 kB / 0.5108 GB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2476, allocations: 34.69 kB / 0.5108 GB, free: 9.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2476, allocations: 0 / 0.5108 GB, free: 9.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003822/0.248, allocations: 81.67 kB / 0.5109 GB, free: 9.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.2481, allocations: 63.34 kB / 0.5109 GB, free: 9.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2482, allocations: 101 kB / 0.511 GB, free: 9.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2483, allocations: 29.7 kB / 0.5111 GB, free: 9.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2483, allocations: 88.14 kB / 0.5112 GB, free: 9.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.2484, allocations: 7.891 kB / 0.5112 GB, free: 9.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.2484, allocations: 4 kB / 0.5112 GB, free: 9.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2485, allocations: 310.8 kB / 0.5115 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.2486, allocations: 8 kB / 0.5115 GB, free: 9.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.2486, allocations: 49.14 kB / 0.5115 GB, free: 9.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.2487, allocations: 12 kB / 0.5115 GB, free: 9.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2487, allocations: 0 / 0.5115 GB, free: 9.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001524/0.2489, allocations: 73.72 kB / 0.5116 GB, free: 9.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2489, allocations: 11.95 kB / 0.5116 GB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2489, allocations: 0 / 0.5116 GB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2489, allocations: 4 kB / 0.5116 GB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.108e-05/0.249, allocations: 11.92 kB / 0.5116 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.249, allocations: 4 kB / 0.5116 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.2491, allocations: 3.938 kB / 0.5116 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2491, allocations: 4 kB / 0.5116 GB, free: 9.02 MB / 362.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 () * 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.0001113/0.2492, allocations: 117.9 kB / 0.5117 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.2495, allocations: 85.55 kB / 0.5118 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.2496, allocations: 16.33 kB / 0.5118 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2496, allocations: 3.938 kB / 0.5118 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2496, allocations: 0 / 0.5118 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2496, allocations: 0 / 0.5118 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.2498, allocations: 157.7 kB / 0.512 GB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2498, allocations: 4 kB / 0.512 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.2499, allocations: 7.984 kB / 0.512 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2499, allocations: 0 / 0.512 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2499, allocations: 4 kB / 0.512 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.25, allocations: 7.953 kB / 0.512 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.25, allocations: 4 kB / 0.512 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2502, allocations: 96.95 kB / 0.5121 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.2503, allocations: 85.05 kB / 0.5122 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2503, allocations: 0 / 0.5122 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2505, allocations: 19.98 kB / 0.5122 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.2505, allocations: 3.953 kB / 0.5122 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2505, allocations: 4 kB / 0.5122 GB, free: 8.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.2506, allocations: 91.25 kB / 0.5123 GB, free: 8.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2506, allocations: 0 / 0.5123 GB, free: 8.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.2509, allocations: 12 kB / 0.5123 GB, free: 8.203 MB / 362.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 () * 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.0007671/0.2517, allocations: 0.6515 MB / 0.513 GB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.2519, allocations: 40.11 kB / 0.513 GB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2519, allocations: 0 / 0.513 GB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.2519, allocations: 7.938 kB / 0.513 GB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2523, allocations: 52.16 kB / 0.5131 GB, free: 7.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2536, allocations: 1.191 MB / 0.5142 GB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.254, allocations: 0.6888 MB / 0.5149 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.012e-05/0.254, allocations: 8.188 kB / 0.5149 GB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.2541, allocations: 17.17 kB / 0.5149 GB, free: 5.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2541, allocations: 0 / 0.5149 GB, free: 5.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.275, allocations: 1.424 MB / 0.5163 GB, free: 4.016 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.2753, allocations: 209.4 kB / 0.5165 GB, free: 3.773 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.585, allocations: 0 / 0.5165 GB, free: 3.773 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat does not exist to compare? outputFormat=mat