Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.0009908/0.0009908, allocations: 100.2 kB / 16.3 MB, free: 5.551 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.0009986/0.0009986, allocations: 183 kB / 17.2 MB, free: 5.484 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.51/1.51, allocations: 223.2 MB / 241.1 MB, free: 380 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 8 kB / 300.8 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 50.41 MB / 351.2 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001472/0.1455, allocations: 0.6009 MB / 351.8 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.1459, allocations: 147.5 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1461, allocations: 4 kB / 352 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.1462, allocations: 7.938 kB / 352 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1463, allocations: 19.91 kB / 352 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1466, allocations: 39.58 kB / 352 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1467, allocations: 43.84 kB / 352.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1468, allocations: 32.16 kB / 352.1 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.1469, allocations: 19.92 kB / 352.1 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.147, allocations: 31.78 kB / 352.2 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.147, allocations: 8 kB / 352.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.147, allocations: 0 / 352.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.1471, allocations: 19.92 kB / 352.2 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1471, allocations: 41.64 kB / 352.2 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.98e-05/0.1472, allocations: 59.88 kB / 352.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.1472, allocations: 0 / 352.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1472, allocations: 0 / 352.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1473, allocations: 0 / 352.3 MB, free: 2.855 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.0006168/0.1479, allocations: 399.1 kB / 352.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1479, allocations: 8.031 kB / 352.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.148, allocations: 50.52 kB / 352.7 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.148, allocations: 15.81 kB / 352.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1483, allocations: 210 kB / 353 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1483, allocations: 4 kB / 353 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1484, allocations: 8 kB / 353 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.1488, allocations: 238.7 kB / 353.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1489, allocations: 0 / 353.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1489, allocations: 4 kB / 353.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1489, allocations: 4 kB / 353.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.149, allocations: 47.91 kB / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.1492, allocations: 201.5 kB / 353.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1495, allocations: 150.9 kB / 353.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1495, allocations: 0 / 353.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1495, allocations: 30.56 kB / 353.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.1495, allocations: 0 / 353.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003197/0.1499, allocations: 173.6 kB / 353.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.1499, allocations: 63.41 kB / 353.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1501, allocations: 162.1 kB / 354 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1501, allocations: 33.7 kB / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1502, allocations: 92.47 kB / 354.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1502, allocations: 3.984 kB / 354.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.1502, allocations: 8 kB / 354.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1504, allocations: 322.8 kB / 354.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.1504, allocations: 23.98 kB / 354.5 MB, free: 440 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.1505, allocations: 117.7 kB / 354.6 MB, free: 272 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.1506, allocations: 43.94 kB / 354.7 MB, free: 228 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1506, allocations: 0 / 354.7 MB, free: 228 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002146/0.1508, allocations: 169.1 kB / 354.8 MB, free: 52 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1509, allocations: 8 kB / 354.8 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1509, allocations: 4 kB / 354.8 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1509, allocations: 4 kB / 354.8 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.151, allocations: 32.42 kB / 354.9 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/0.1511, allocations: 8.047 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1511, allocations: 19.84 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1512, allocations: 8 kB / 354.9 MB, free: 15.96 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: 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 () * 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.0001625/0.1513, allocations: 149.6 kB / 355 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.1515, allocations: 129.5 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1516, allocations: 17.19 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1516, allocations: 4 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1516, allocations: 4 kB / 355.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1516, allocations: 3.984 kB / 355.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1517, allocations: 193.5 kB / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1518, allocations: 0 / 355.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1519, allocations: 31.92 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1519, allocations: 4 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1519, allocations: 0 / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1519, allocations: 4 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1519, allocations: 0 / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1521, allocations: 168.2 kB / 355.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.1522, allocations: 108.8 kB / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1523, allocations: 4 kB / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.1523, allocations: 4 kB / 355.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-06/0.1523, allocations: 3.938 kB / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1523, allocations: 4 kB / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.1524, allocations: 117.5 kB / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.1524, allocations: 0 / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1527, allocations: 19.94 kB / 355.9 MB, free: 14.92 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: 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 () * 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.0006916/0.1534, allocations: 0.7762 MB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1536, allocations: 108.4 kB / 356.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1536, allocations: 4 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1536, allocations: 0 / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.154, allocations: 94.92 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1558, allocations: 3.003 MB / 359.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1562, allocations: 0.7162 MB / 360.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.576e-05/0.1562, allocations: 13.08 kB / 360.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1563, allocations: 35.42 kB / 360.6 MB, free: 10 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1563, allocations: 0 / 360.6 MB, free: 10 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.171, allocations: 2.279 MB / 362.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004459/0.1715, allocations: 214.4 kB / 363.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.015, allocations: 0 / 363.1 MB, free: 7.656 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat