Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.002577/0.002577, allocations: 181.3 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.2/2.2, allocations: 205.2 MB / 219 MB, free: 9.199 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.001433/0.001433, allocations: 86.55 kB / 267.1 MB, free: 9.266 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.1345/0.1345, allocations: 12.58 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.405e-05, allocations: 7.984 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09782, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/0.538, allocations: 77.88 MB / 0.5023 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5383, allocations: 74.86 kB / 0.5024 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005947/0.5443, allocations: 1.684 MB / 0.504 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5443, allocations: 0 / 0.504 GB, free: 11.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5444, allocations: 4 kB / 0.504 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003732/0.5447, allocations: 378.2 kB / 0.5044 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5448, allocations: 11.34 kB / 0.5044 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.5449, allocations: 40.77 kB / 0.5044 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.5449, allocations: 15.5 kB / 0.5045 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.5451, allocations: 210.1 kB / 0.5047 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5452, allocations: 11.03 kB / 0.5047 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.5452, allocations: 9.984 kB / 0.5047 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.5457, allocations: 233.5 kB / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5458, allocations: 0 / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.5458, allocations: 3.781 kB / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5458, allocations: 4 kB / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5459, allocations: 46 kB / 0.5049 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.5461, allocations: 189.9 kB / 0.5051 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.5464, allocations: 140.4 kB / 0.5053 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.5466, allocations: 83.34 kB / 0.5053 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.5466, allocations: 14.61 kB / 0.5054 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.5467, allocations: 38.2 kB / 0.5054 GB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.5467, allocations: 3.938 kB / 0.5054 GB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003029/0.547, allocations: 127.9 kB / 0.5055 GB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.5471, allocations: 66.84 kB / 0.5056 GB, free: 10.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.5472, allocations: 150.5 kB / 0.5057 GB, free: 10.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5472, allocations: 28.58 kB / 0.5058 GB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.5473, allocations: 99.69 kB / 0.5058 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.5473, allocations: 14.02 kB / 0.5059 GB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.5473, allocations: 0 / 0.5059 GB, free: 10.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.5474, allocations: 324 kB / 0.5062 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.5475, allocations: 17.77 kB / 0.5062 GB, free: 9.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.5476, allocations: 118.3 kB / 0.5063 GB, free: 9.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.113e-05/0.5477, allocations: 44.03 kB / 0.5063 GB, free: 9.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5477, allocations: 0 / 0.5063 GB, free: 9.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002824/0.548, allocations: 159.6 kB / 0.5065 GB, free: 9.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.548, allocations: 7.688 kB / 0.5065 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.548, allocations: 3.812 kB / 0.5065 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.5481, allocations: 8.141 kB / 0.5065 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5483, allocations: 37.14 kB / 0.5065 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.5483, allocations: 10.92 kB / 0.5066 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.5484, allocations: 15.38 kB / 0.5066 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.5485, allocations: 11.25 kB / 0.5066 GB, free: 9.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001015/0.5486, allocations: 123.6 kB / 0.5067 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.5488, allocations: 138.8 kB / 0.5068 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.5489, allocations: 22.14 kB / 0.5069 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5489, allocations: 7.953 kB / 0.5069 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5489, allocations: 0 / 0.5069 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5489, allocations: 0 / 0.5069 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.5491, allocations: 185.3 kB / 0.507 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5491, allocations: 0 / 0.507 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.5493, allocations: 33.53 kB / 0.5071 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5493, allocations: 0 / 0.5071 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5494, allocations: 3.984 kB / 0.5071 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5494, allocations: 6.234 kB / 0.5071 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5494, allocations: 3.953 kB / 0.5071 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.5496, allocations: 160.4 kB / 0.5072 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.5497, allocations: 105.2 kB / 0.5073 GB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.5498, allocations: 7 kB / 0.5073 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.5498, allocations: 2.438 kB / 0.5073 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-06/0.5499, allocations: 3.875 kB / 0.5073 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.5499, allocations: 0 / 0.5073 GB, free: 9.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.72e-05/0.55, allocations: 121.4 kB / 0.5075 GB, free: 9.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.55, allocations: 0 / 0.5075 GB, free: 9.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.5503, allocations: 21.97 kB / 0.5075 GB, free: 9.043 MB / 330.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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006205/0.5509, allocations: 0.7628 MB / 0.5082 GB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.5512, allocations: 104.7 kB / 0.5083 GB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5512, allocations: 0 / 0.5083 GB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.5512, allocations: 0 / 0.5083 GB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.5517, allocations: 89.67 kB / 0.5084 GB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.5523, allocations: 229.3 kB / 0.5086 GB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.5525, allocations: 0.7251 MB / 0.5093 GB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.5526, allocations: 11.81 kB / 0.5094 GB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.5527, allocations: 31.77 kB / 0.5094 GB, free: 7.562 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5527, allocations: 0 / 0.5094 GB, free: 7.562 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.5784, allocations: 2.302 MB / 0.5116 GB, free: 6.637 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.5787, allocations: 194.8 kB / 0.5118 GB, free: 6.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.019, allocations: 0 / 0.5118 GB, free: 6.41 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat