Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleClocked",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.001567/0.001567, allocations: 179.7 kB / 15.8 MB, free: 6.035 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.061/2.061, 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.001134/0.001134, allocations: 94.91 kB / 270.3 MB, free: 13.37 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.1042/0.1042, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.0005559, allocations: 16.48 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09199, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.2336, allocations: 77.61 MB / 0.5079 GB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.234, allocations: 83.95 kB / 0.508 GB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003677/0.2377, allocations: 0.9999 MB / 0.5089 GB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2378, allocations: 0 / 0.5089 GB, free: 12.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2378, allocations: 4 kB / 0.509 GB, free: 12.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004532/0.2382, allocations: 351.2 kB / 0.5093 GB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2383, allocations: 8.031 kB / 0.5093 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.2384, allocations: 38.56 kB / 0.5093 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.2384, allocations: 3.906 kB / 0.5093 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.2386, allocations: 179.5 kB / 0.5095 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2387, allocations: 15.89 kB / 0.5095 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.2387, allocations: 0 / 0.5095 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.239, allocations: 89.05 kB / 0.5096 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.239, allocations: 0 / 0.5096 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.239, allocations: 0 / 0.5096 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.239, allocations: 4 kB / 0.5096 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.2391, allocations: 19.92 kB / 0.5096 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.2396, allocations: 265.8 kB / 0.5099 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2397, allocations: 45.14 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2397, allocations: 4.062 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2398, allocations: 34.56 kB / 0.51 GB, free: 10.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2398, allocations: 0 / 0.51 GB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003076/0.2401, allocations: 61.53 kB / 0.51 GB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.2402, allocations: 81.11 kB / 0.5101 GB, free: 10.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.2403, allocations: 117.2 kB / 0.5102 GB, free: 10.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2404, allocations: 25.95 kB / 0.5102 GB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.2404, allocations: 92.14 kB / 0.5103 GB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.308e-06/0.2404, allocations: 0 / 0.5103 GB, free: 10.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2405, allocations: 0 / 0.5103 GB, free: 10.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2406, allocations: 314.8 kB / 0.5106 GB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.2407, allocations: 4 kB / 0.5106 GB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.2407, allocations: 25.66 kB / 0.5107 GB, free: 10.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.08e-05/0.2408, allocations: 8.062 kB / 0.5107 GB, free: 10.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2408, allocations: 3.953 kB / 0.5107 GB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001473/0.241, allocations: 53.59 kB / 0.5107 GB, free: 9.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.241, allocations: 4 kB / 0.5107 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.241, allocations: 0 / 0.5107 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.241, allocations: 0 / 0.5107 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.2411, allocations: 7.922 kB / 0.5107 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2411, allocations: 4.062 kB / 0.5107 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.2411, allocations: 7.938 kB / 0.5107 GB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.2412, allocations: 0 / 0.5107 GB, free: 9.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001138/0.2413, allocations: 125.6 kB / 0.5109 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.2414, allocations: 41.62 kB / 0.5109 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.2414, allocations: 11.53 kB / 0.5109 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2414, allocations: 0 / 0.5109 GB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2414, allocations: 3.938 kB / 0.5109 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2415, allocations: 0 / 0.5109 GB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2417, allocations: 165.7 kB / 0.5111 GB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2417, allocations: 4 kB / 0.5111 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.2417, allocations: 3.953 kB / 0.5111 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2417, allocations: 0 / 0.5111 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2418, allocations: 0 / 0.5111 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.2418, allocations: 3.938 kB / 0.5111 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.2418, allocations: 4 kB / 0.5111 GB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.242, allocations: 170 kB / 0.5112 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.2421, allocations: 93 kB / 0.5113 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2421, allocations: 0 / 0.5113 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.2422, allocations: 0 / 0.5113 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2423, allocations: 4 kB / 0.5113 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.2423, allocations: 0 / 0.5113 GB, free: 9.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.96e-05/0.2424, allocations: 103.2 kB / 0.5114 GB, free: 9.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2424, allocations: 4.031 kB / 0.5114 GB, free: 9.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.2427, allocations: 4 kB / 0.5114 GB, free: 9.125 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005935/0.2433, allocations: 0.7656 MB / 0.5122 GB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.2435, allocations: 15.98 kB / 0.5122 GB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2435, allocations: 0 / 0.5122 GB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.088e-05/0.2435, allocations: 11.94 kB / 0.5122 GB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2439, allocations: 19.72 kB / 0.5122 GB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2449, allocations: 0.5653 MB / 0.5128 GB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.2452, allocations: 0.6927 MB / 0.5135 GB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.388e-05/0.2453, allocations: 3.984 kB / 0.5135 GB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.2453, allocations: 11.44 kB / 0.5135 GB, free: 6.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2454, allocations: 0 / 0.5135 GB, free: 6.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.2649, allocations: 1.135 MB / 0.5146 GB, free: 5.801 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/0.2653, allocations: 219.7 kB / 0.5148 GB, free: 5.547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.599, allocations: 4 kB / 0.5148 GB, free: 5.543 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat