Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.001598/0.001598, allocations: 181.4 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.449/2.449, allocations: 205.2 MB / 219 MB, free: 9.211 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.001129/0.001129, allocations: 99.64 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.1087/0.1087, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.68e-05/4.697e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.09914, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.5525, allocations: 77.78 MB / 0.5022 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5529, allocations: 77.47 kB / 0.5023 GB, free: 11.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005857/0.5588, allocations: 1.605 MB / 0.5038 GB, free: 11.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5588, allocations: 0 / 0.5038 GB, free: 11.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.5588, allocations: 0 / 0.5038 GB, free: 11.12 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.0003917/0.5592, allocations: 373.2 kB / 0.5042 GB, free: 10.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5593, allocations: 7.469 kB / 0.5042 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.5594, allocations: 52.12 kB / 0.5043 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.5594, allocations: 15.47 kB / 0.5043 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.5597, allocations: 203.1 kB / 0.5045 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5597, allocations: 6.625 kB / 0.5045 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.5597, allocations: 13.98 kB / 0.5045 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.5602, allocations: 206.9 kB / 0.5047 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5602, allocations: 0 / 0.5047 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5603, allocations: 3.375 kB / 0.5047 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5603, allocations: 0 / 0.5047 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5604, allocations: 31.38 kB / 0.5047 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.5606, allocations: 191.3 kB / 0.5049 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.5609, allocations: 129.7 kB / 0.505 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.561, allocations: 70.08 kB / 0.5051 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.5611, allocations: 3.969 kB / 0.5051 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5611, allocations: 33.94 kB / 0.5051 GB, free: 10.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.5611, allocations: 0 / 0.5051 GB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002793/0.5614, allocations: 116.3 kB / 0.5052 GB, free: 10.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.5615, allocations: 68.97 kB / 0.5053 GB, free: 10.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5616, allocations: 127.8 kB / 0.5054 GB, free: 9.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.5616, allocations: 33.23 kB / 0.5055 GB, free: 9.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.5617, allocations: 87.78 kB / 0.5055 GB, free: 9.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.5617, allocations: 14.77 kB / 0.5056 GB, free: 9.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5617, allocations: 3 kB / 0.5056 GB, free: 9.816 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.67e-05/0.5618, allocations: 321.5 kB / 0.5059 GB, free: 9.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.5618, allocations: 26.53 kB / 0.5059 GB, free: 9.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.562, allocations: 111.8 kB / 0.506 GB, free: 9.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.5621, allocations: 44.39 kB / 0.506 GB, free: 9.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5621, allocations: 3.844 kB / 0.506 GB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002624/0.5623, allocations: 150.2 kB / 0.5062 GB, free: 9.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5624, allocations: 11.75 kB / 0.5062 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5624, allocations: 3.844 kB / 0.5062 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5624, allocations: 7.797 kB / 0.5062 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.5626, allocations: 33.34 kB / 0.5062 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.5627, allocations: 7.781 kB / 0.5062 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.5627, allocations: 15.19 kB / 0.5063 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.5628, allocations: 7.656 kB / 0.5063 GB, free: 9.277 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: 0 () * 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 7.004e-05/0.5629, allocations: 123.4 kB / 0.5064 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.5631, allocations: 114.7 kB / 0.5065 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.5631, allocations: 22.91 kB / 0.5065 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5631, allocations: 3.984 kB / 0.5065 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5632, allocations: 3.953 kB / 0.5065 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5632, allocations: 0 / 0.5065 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.5633, allocations: 194.3 kB / 0.5067 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5633, allocations: 0 / 0.5067 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5635, allocations: 25.53 kB / 0.5067 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.5635, allocations: 3.75 kB / 0.5067 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5635, allocations: 5.578 kB / 0.5067 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5635, allocations: 0.5469 kB / 0.5067 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5636, allocations: 0 / 0.5067 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.5638, allocations: 154.4 kB / 0.5069 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.5639, allocations: 98.12 kB / 0.507 GB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5639, allocations: 7.438 kB / 0.507 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.564, allocations: 0 / 0.507 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-06/0.564, allocations: 0 / 0.507 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.564, allocations: 7.531 kB / 0.507 GB, free: 8.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.5641, allocations: 113.1 kB / 0.5071 GB, free: 8.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5641, allocations: 4 kB / 0.5071 GB, free: 8.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000287/0.5644, allocations: 26.23 kB / 0.5071 GB, free: 8.641 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: 0 () * 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.0005522/0.565, allocations: 0.7253 MB / 0.5078 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.5652, allocations: 89.12 kB / 0.5079 GB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5652, allocations: 3.938 kB / 0.5079 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.5652, allocations: 0 / 0.5079 GB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.5657, allocations: 82.27 kB / 0.508 GB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.5663, allocations: 212.5 kB / 0.5082 GB, free: 7.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.5665, allocations: 0.7162 MB / 0.5089 GB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.417e-05/0.5665, allocations: 11.55 kB / 0.5089 GB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.5666, allocations: 31.31 kB / 0.509 GB, free: 7.164 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5666, allocations: 0 / 0.509 GB, free: 7.164 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.5876, allocations: 2.178 MB / 0.5111 GB, free: 6.438 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/0.588, allocations: 191.8 kB / 0.5113 GB, free: 6.211 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/2.954, allocations: 0 / 0.5113 GB, free: 6.211 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat