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.001557/0.001557, allocations: 180.4 kB / 15.8 MB, free: 6.34 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.151/2.151, 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.001116/0.001116, allocations: 94.86 kB / 270.3 MB, free: 13.38 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.09633/0.09633, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005557/0.0005557, allocations: 17.5 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09329, allocations: 50.37 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.2363, allocations: 77.67 MB / 0.508 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.2366, allocations: 75.95 kB / 0.508 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004586/0.2412, allocations: 1.172 MB / 0.5092 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2413, allocations: 0 / 0.5092 GB, free: 11.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.2413, allocations: 4 kB / 0.5092 GB, free: 11.82 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.0004925/0.2418, allocations: 375.9 kB / 0.5095 GB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.2419, allocations: 8.031 kB / 0.5095 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.2419, allocations: 30.56 kB / 0.5096 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.242, allocations: 7.906 kB / 0.5096 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2422, allocations: 198.8 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2423, allocations: 7.953 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2423, allocations: 8 kB / 0.5098 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.2427, allocations: 113.9 kB / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2427, allocations: 0 / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2427, allocations: 4 kB / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2428, allocations: 4 kB / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.243, allocations: 39.91 kB / 0.5099 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.2435, allocations: 369.9 kB / 0.5103 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.2437, allocations: 67.78 kB / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.2438, allocations: 0 / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.2438, allocations: 46.56 kB / 0.5104 GB, free: 10.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.2438, allocations: 0 / 0.5104 GB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000483/0.2443, allocations: 93.5 kB / 0.5105 GB, free: 10.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.2444, allocations: 106.8 kB / 0.5106 GB, free: 10.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2446, allocations: 128.2 kB / 0.5107 GB, free: 9.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2446, allocations: 29.7 kB / 0.5107 GB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.2447, allocations: 88.05 kB / 0.5108 GB, free: 9.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.2447, allocations: 4 kB / 0.5108 GB, free: 9.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.2448, allocations: 4 kB / 0.5108 GB, free: 9.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2449, allocations: 314.8 kB / 0.5111 GB, free: 9.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.245, allocations: 19.92 kB / 0.5111 GB, free: 9.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2452, allocations: 43.38 kB / 0.5112 GB, free: 9.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.2453, allocations: 25.38 kB / 0.5112 GB, free: 9.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2453, allocations: 0 / 0.5112 GB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002613/0.2456, allocations: 77.52 kB / 0.5113 GB, free: 9.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2456, allocations: 4 kB / 0.5113 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2456, allocations: 0 / 0.5113 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2456, allocations: 4 kB / 0.5113 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.542e-05/0.2457, allocations: 7.875 kB / 0.5113 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2457, allocations: 4 kB / 0.5113 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.2458, allocations: 3.984 kB / 0.5113 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2458, allocations: 8 kB / 0.5113 GB, free: 9.332 MB / 362.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 () * Number of clocked 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 0.0001425/0.2459, allocations: 129.7 kB / 0.5114 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2461, allocations: 49.59 kB / 0.5115 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.2461, allocations: 11.86 kB / 0.5115 GB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2462, allocations: 0 / 0.5115 GB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2462, allocations: 0 / 0.5115 GB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.2462, allocations: 4 kB / 0.5115 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.2465, allocations: 173.7 kB / 0.5117 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2465, allocations: 7.891 kB / 0.5117 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.2466, allocations: 0 / 0.5117 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2466, allocations: 4.125 kB / 0.5117 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2466, allocations: 7.984 kB / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2466, allocations: 3.984 kB / 0.5117 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2466, allocations: 0 / 0.5117 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.247, allocations: 275.1 kB / 0.512 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.2471, allocations: 93 kB / 0.512 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2471, allocations: 7.938 kB / 0.5121 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2473, allocations: 4 kB / 0.5121 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.2474, allocations: 3.984 kB / 0.5121 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2474, allocations: 0 / 0.5121 GB, free: 8.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.2475, allocations: 107.3 kB / 0.5122 GB, free: 8.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2475, allocations: 0 / 0.5122 GB, free: 8.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.2479, allocations: 8 kB / 0.5122 GB, free: 8.344 MB / 362.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 () * Number of clocked 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.0008641/0.2488, allocations: 0.9432 MB / 0.5131 GB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.2491, allocations: 47.91 kB / 0.5131 GB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2491, allocations: 0 / 0.5131 GB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.2492, allocations: 16.19 kB / 0.5132 GB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.2496, allocations: 35.66 kB / 0.5132 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2512, allocations: 0.9633 MB / 0.5141 GB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2516, allocations: 0.6984 MB / 0.5148 GB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.2517, allocations: 12.3 kB / 0.5148 GB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.2517, allocations: 19.44 kB / 0.5148 GB, free: 5.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2518, allocations: 0 / 0.5148 GB, free: 5.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.2709, allocations: 1.442 MB / 0.5162 GB, free: 4.039 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.2713, allocations: 223.1 kB / 0.5165 GB, free: 3.797 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.651, allocations: 0 / 0.5165 GB, free: 3.797 MB / 362.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