Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007553/0.0007555, allocations: 84.81 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008465/0.0008465, allocations: 182.5 kB / 17.21 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 241.2 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 4 kB / 300.9 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 50.42 MB / 351.3 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001439/0.1464, allocations: 0.7157 MB / 352.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.1468, allocations: 139.5 kB / 352.2 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1469, allocations: 4 kB / 352.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.147, allocations: 7.922 kB / 352.2 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1471, allocations: 7.938 kB / 352.2 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1474, allocations: 39.89 kB / 352.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1475, allocations: 55.84 kB / 352.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1477, allocations: 36.16 kB / 352.3 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1477, allocations: 19.81 kB / 352.4 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1478, allocations: 23.86 kB / 352.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1478, allocations: 0 / 352.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.1478, allocations: 4 kB / 352.4 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.1479, allocations: 23.91 kB / 352.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.148, allocations: 41.64 kB / 352.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1481, allocations: 55.89 kB / 352.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.1481, allocations: 0 / 352.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1481, allocations: 7.875 kB / 352.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1481, allocations: 0 / 352.5 MB, free: 2.711 MB / 286.1 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.0004977/0.1486, allocations: 391.2 kB / 352.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1487, allocations: 12.03 kB / 352.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.1487, allocations: 38.52 kB / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1488, allocations: 19.89 kB / 353 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.149, allocations: 202.4 kB / 353.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.149, allocations: 3.938 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.149, allocations: 12 kB / 353.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1495, allocations: 209.8 kB / 353.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1495, allocations: 4 kB / 353.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1495, allocations: 8 kB / 353.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1495, allocations: 0 / 353.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.275e-05/0.1496, allocations: 31.98 kB / 353.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.1498, allocations: 189.5 kB / 353.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.15, allocations: 138.9 kB / 353.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1501, allocations: 72.83 kB / 353.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1502, allocations: 3.938 kB / 353.8 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.1502, allocations: 38.5 kB / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1502, allocations: 0 / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002822/0.1505, allocations: 141.8 kB / 354 MB, free: 1.047 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1506, allocations: 67.34 kB / 354.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1507, allocations: 147 kB / 354.2 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1508, allocations: 29.7 kB / 354.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.1508, allocations: 92.45 kB / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.1508, allocations: 4 kB / 354.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.1509, allocations: 8 kB / 354.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.151, allocations: 322.8 kB / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.42e-05/0.151, allocations: 19.98 kB / 354.7 MB, free: 328 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1512, allocations: 117.7 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.1512, allocations: 47.92 kB / 354.8 MB, free: 112 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1512, allocations: 3.938 kB / 354.8 MB, free: 108 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000246/0.1515, allocations: 157.2 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1515, allocations: 8 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1515, allocations: 7.984 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1516, allocations: 4.5 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1517, allocations: 31.92 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1517, allocations: 15.98 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.1518, allocations: 11.94 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1518, allocations: 12 kB / 355.1 MB, free: 15.86 MB / 302.1 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 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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.0001322/0.1519, allocations: 133.7 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.1521, allocations: 124.8 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1521, allocations: 21.17 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1521, allocations: 0 / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1522, allocations: 0 / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1522, allocations: 4 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1523, allocations: 197.5 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1523, allocations: 0 / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.1524, allocations: 23.98 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1524, allocations: 0 / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1525, allocations: 0 / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1525, allocations: 4 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1525, allocations: 0 / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.1527, allocations: 160.8 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.1528, allocations: 108.8 kB / 355.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1528, allocations: 0 / 355.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.1528, allocations: 8 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-06/0.1528, allocations: 0 / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.1528, allocations: 4 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.606e-05/0.1529, allocations: 109.3 kB / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1529, allocations: 0 / 356 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1532, allocations: 16 kB / 356 MB, free: 14.86 MB / 302.1 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 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * 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.000634/0.1538, allocations: 0.7373 MB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.154, allocations: 87.59 kB / 356.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.154, allocations: 0 / 356.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.154, allocations: 4 kB / 356.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1544, allocations: 80 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1555, allocations: 0.726 MB / 357.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1559, allocations: 0.7165 MB / 358.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.1559, allocations: 12.64 kB / 358.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.156, allocations: 23.5 kB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.156, allocations: 0 / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.1702, allocations: 2.151 MB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.1706, allocations: 217.2 kB / 360.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.118, allocations: 3.938 kB / 360.7 MB, free: 10.11 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat