Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.00224/0.00224, allocations: 181.1 kB / 13.23 MB, free: 2.086 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.312/2.312, allocations: 205.2 MB / 219 MB, free: 9.207 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.001122/0.001122, allocations: 91.72 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1103/0.1103, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.416e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09584, allocations: 50.38 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5787, allocations: 77.57 MB / 0.502 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.579, allocations: 79.42 kB / 0.5021 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003956/0.5829, allocations: 1.178 MB / 0.5032 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.583, allocations: 0 / 0.5032 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.583, allocations: 1.938 kB / 0.5032 GB, free: 11.52 MB / 330.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.000381/0.5834, allocations: 350.9 kB / 0.5036 GB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5835, allocations: 11.69 kB / 0.5036 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.5835, allocations: 38.38 kB / 0.5036 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.5836, allocations: 7.75 kB / 0.5036 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.5838, allocations: 193.8 kB / 0.5038 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.5838, allocations: 3.953 kB / 0.5038 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.5839, allocations: 7.656 kB / 0.5038 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.5842, allocations: 117.8 kB / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5842, allocations: 0 / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5842, allocations: 0 / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5842, allocations: 3.969 kB / 0.5039 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.862e-05/0.5843, allocations: 24.78 kB / 0.504 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.5848, allocations: 361.8 kB / 0.5043 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.833e-05/0.5849, allocations: 62.33 kB / 0.5044 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.5849, allocations: 28.28 kB / 0.5044 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.585, allocations: 7.062 kB / 0.5044 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.585, allocations: 42.31 kB / 0.5044 GB, free: 10.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.585, allocations: 0 / 0.5044 GB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.5853, allocations: 66.17 kB / 0.5045 GB, free: 10.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.5853, allocations: 110.7 kB / 0.5046 GB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5855, allocations: 124.6 kB / 0.5047 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.5855, allocations: 33.67 kB / 0.5048 GB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.5855, allocations: 83.7 kB / 0.5048 GB, free: 9.945 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.5856, allocations: 3.906 kB / 0.5048 GB, free: 9.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5856, allocations: 3.844 kB / 0.5048 GB, free: 9.941 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.5857, allocations: 320.8 kB / 0.5051 GB, free: 9.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.5857, allocations: 7.062 kB / 0.5052 GB, free: 9.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.5858, allocations: 37.52 kB / 0.5052 GB, free: 9.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.5858, allocations: 15.06 kB / 0.5052 GB, free: 9.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5858, allocations: 0 / 0.5052 GB, free: 9.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001401/0.586, allocations: 57.11 kB / 0.5053 GB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.586, allocations: 7.75 kB / 0.5053 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.586, allocations: 3.812 kB / 0.5053 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.586, allocations: 0 / 0.5053 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-05/0.5861, allocations: 6.562 kB / 0.5053 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5861, allocations: 7.75 kB / 0.5053 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.5862, allocations: 6.547 kB / 0.5053 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.5862, allocations: 0 / 0.5053 GB, free: 9.539 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.38e-05/0.5863, allocations: 115.7 kB / 0.5054 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.5864, allocations: 48.62 kB / 0.5054 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.5865, allocations: 10.38 kB / 0.5055 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5865, allocations: 3.938 kB / 0.5055 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5865, allocations: 4 kB / 0.5055 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5865, allocations: 6.562 kB / 0.5055 GB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.5868, allocations: 174.4 kB / 0.5056 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5868, allocations: 0.875 kB / 0.5056 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.5868, allocations: 7.719 kB / 0.5056 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5868, allocations: 3.188 kB / 0.5056 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5868, allocations: 0 / 0.5056 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5868, allocations: 3.875 kB / 0.5056 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5869, allocations: 0 / 0.5056 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.5871, allocations: 272.6 kB / 0.5059 GB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.5871, allocations: 90.28 kB / 0.506 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5872, allocations: 3.625 kB / 0.506 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.5873, allocations: 3.844 kB / 0.506 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.5874, allocations: 10.33 kB / 0.506 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5874, allocations: 3.938 kB / 0.506 GB, free: 8.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.5875, allocations: 108.4 kB / 0.5061 GB, free: 8.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5875, allocations: 0 / 0.5061 GB, free: 8.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.5878, allocations: 7.5 kB / 0.5061 GB, free: 8.742 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004042/0.5882, allocations: 0.9315 MB / 0.507 GB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.5884, allocations: 25.78 kB / 0.5071 GB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5884, allocations: 4 kB / 0.5071 GB, free: 7.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.5885, allocations: 15.09 kB / 0.5071 GB, free: 7.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.5889, allocations: 29.47 kB / 0.5071 GB, free: 7.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.5894, allocations: 159.4 kB / 0.5073 GB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5896, allocations: 0.6972 MB / 0.5079 GB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.5897, allocations: 7.469 kB / 0.5079 GB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.5898, allocations: 14.97 kB / 0.508 GB, free: 6.977 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5898, allocations: 4.094 kB / 0.508 GB, free: 6.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.6139, allocations: 1.454 MB / 0.5094 GB, free: 6.637 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.6142, allocations: 192.1 kB / 0.5096 GB, free: 6.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.112, allocations: 0 / 0.5096 GB, free: 6.418 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat