Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_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.001511/0.001516, allocations: 178.4 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.389/2.389, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001092/0.001091, allocations: 97.12 kB / 261.8 MB, free: 13.44 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.1454/0.1454, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.095e-05, allocations: 4 kB / 379 MB, free: 75.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 50.38 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.5556, allocations: 76.93 MB / 0.4945 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.556, allocations: 70.83 kB / 0.4945 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004431/0.5604, allocations: 1.275 MB / 0.4958 GB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5605, allocations: 3.844 kB / 0.4958 GB, free: 11.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5605, allocations: 4 kB / 0.4958 GB, free: 11.28 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.0004023/0.5609, allocations: 361.3 kB / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.561, allocations: 11.22 kB / 0.4961 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.561, allocations: 11.66 kB / 0.4962 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.5612, allocations: 201.6 kB / 0.4963 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.5613, allocations: 0 / 0.4963 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.5613, allocations: 3.719 kB / 0.4963 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001193/0.5614, allocations: 22.31 kB / 0.4964 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.5617, allocations: 108.4 kB / 0.4965 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5617, allocations: 0 / 0.4965 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5617, allocations: 2.625 kB / 0.4965 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.5617, allocations: 3.844 kB / 0.4965 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.5622, allocations: 351 kB / 0.4968 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/0.5623, allocations: 57.67 kB / 0.4969 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.5624, allocations: 31.45 kB / 0.4969 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.5624, allocations: 4 kB / 0.4969 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.5625, allocations: 34.47 kB / 0.4969 GB, free: 10.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.5625, allocations: 0 / 0.4969 GB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002278/0.5627, allocations: 65.34 kB / 0.497 GB, free: 10.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5628, allocations: 102.8 kB / 0.4971 GB, free: 9.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.5629, allocations: 134.8 kB / 0.4972 GB, free: 9.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.5629, allocations: 25.7 kB / 0.4972 GB, free: 9.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.539e-05/0.563, allocations: 98.02 kB / 0.4973 GB, free: 9.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.563, allocations: 0.75 kB / 0.4973 GB, free: 9.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.563, allocations: 3.938 kB / 0.4973 GB, free: 9.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.5631, allocations: 321 kB / 0.4977 GB, free: 9.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.5631, allocations: 7.781 kB / 0.4977 GB, free: 9.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.5632, allocations: 34.11 kB / 0.4977 GB, free: 9.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.5632, allocations: 11.75 kB / 0.4977 GB, free: 9.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5632, allocations: 3.844 kB / 0.4977 GB, free: 9.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.5634, allocations: 55.67 kB / 0.4978 GB, free: 9.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5634, allocations: 14.61 kB / 0.4978 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5634, allocations: 0 / 0.4978 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5634, allocations: 7.969 kB / 0.4978 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.5636, allocations: 10.86 kB / 0.4978 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.5636, allocations: 3.906 kB / 0.4978 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.5637, allocations: 3.812 kB / 0.4978 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5637, allocations: 3.844 kB / 0.4978 GB, free: 9.363 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 9.064e-05/0.5638, allocations: 111.8 kB / 0.4979 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001622/0.564, allocations: 71.22 kB / 0.498 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.5641, allocations: 11.69 kB / 0.498 GB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.952e-05/0.5642, allocations: 13.39 kB / 0.498 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5642, allocations: 0 / 0.498 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5642, allocations: 3.844 kB / 0.498 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5642, allocations: 0 / 0.498 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.5645, allocations: 154.7 kB / 0.4982 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5645, allocations: 3.938 kB / 0.4982 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5646, allocations: 13.98 kB / 0.4982 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.5646, allocations: 4.094 kB / 0.4982 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5647, allocations: 0 / 0.4982 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5647, allocations: 3.969 kB / 0.4982 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.5647, allocations: 0 / 0.4982 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.5649, allocations: 276.8 kB / 0.4984 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.565, allocations: 91.45 kB / 0.4985 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.565, allocations: 0 / 0.4985 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.5652, allocations: 6.766 kB / 0.4985 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.5653, allocations: 7.766 kB / 0.4985 GB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5653, allocations: 2.953 kB / 0.4985 GB, free: 8.672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.202e-05/0.5654, allocations: 109 kB / 0.4987 GB, free: 8.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5654, allocations: 0 / 0.4987 GB, free: 8.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.5658, allocations: 7.812 kB / 0.4987 GB, free: 8.594 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.0004772/0.5663, allocations: 0.9288 MB / 0.4996 GB, free: 7.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.5664, allocations: 31.33 kB / 0.4996 GB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5664, allocations: 0 / 0.4996 GB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.5665, allocations: 7.906 kB / 0.4996 GB, free: 7.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.5669, allocations: 25.11 kB / 0.4996 GB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.5675, allocations: 152.5 kB / 0.4998 GB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.5677, allocations: 0.7087 MB / 0.5005 GB, free: 6.824 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.5678, allocations: 8.844 kB / 0.5005 GB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.5678, allocations: 22.34 kB / 0.5005 GB, free: 6.812 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5678, allocations: 0 / 0.5005 GB, free: 6.812 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.6013, allocations: 1.096 MB / 0.5016 GB, free: 6.734 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.6016, allocations: 187.3 kB / 0.5017 GB, free: 6.539 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.006, allocations: 4 kB / 0.5017 GB, free: 6.535 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat