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.001795/0.001795, allocations: 187.9 kB / 15.81 MB, free: 6.027 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.242/2.242, allocations: 205.4 MB / 221.9 MB, free: 13.68 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.001158/0.001158, allocations: 94.83 kB / 270.3 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1407/0.1407, allocations: 12.59 MB / 331.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008467/0.000847, allocations: 15.2 kB / 392.1 MB, free: 54.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1253, allocations: 50.37 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001477/0.1268, allocations: 0.6039 MB / 443.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000445/0.1274, allocations: 143.6 kB / 443.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1275, allocations: 0 / 443.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.1276, allocations: 15.8 kB / 443.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.1278, allocations: 11.98 kB / 443.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.128, allocations: 39.95 kB / 443.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1281, allocations: 35.91 kB / 443.3 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1283, allocations: 48.14 kB / 443.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.1283, allocations: 11.88 kB / 443.4 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.1284, allocations: 31.84 kB / 443.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1285, allocations: 0 / 443.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.1285, allocations: 4 kB / 443.4 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1285, allocations: 19.92 kB / 443.4 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.1286, allocations: 41.64 kB / 443.5 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1287, allocations: 63.81 kB / 443.5 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1287, allocations: 7.938 kB / 443.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1287, allocations: 0 / 443.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1287, allocations: 4 kB / 443.5 MB, free: 9.711 MB / 282.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.0004779/0.1292, allocations: 387.7 kB / 443.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1293, allocations: 12.03 kB / 443.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.1293, allocations: 42.48 kB / 444 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.1294, allocations: 19.75 kB / 444 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1296, allocations: 202.8 kB / 444.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1296, allocations: 8 kB / 444.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1297, allocations: 8 kB / 444.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1302, allocations: 246.7 kB / 444.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1302, allocations: 0 / 444.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1303, allocations: 0 / 444.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1303, allocations: 0 / 444.5 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1304, allocations: 51.97 kB / 444.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.1306, allocations: 193.5 kB / 444.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.131, allocations: 142.9 kB / 444.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.131, allocations: 0 / 444.8 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.131, allocations: 42.64 kB / 444.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.1311, allocations: 0 / 444.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004126/0.1315, allocations: 181.6 kB / 445.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.1316, allocations: 59.41 kB / 445.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1317, allocations: 165.9 kB / 445.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1317, allocations: 25.7 kB / 445.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.1318, allocations: 100.4 kB / 445.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.1318, allocations: 8 kB / 445.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.1318, allocations: 0 / 445.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.1319, allocations: 330.8 kB / 445.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.114e-05/0.132, allocations: 19.98 kB / 445.7 MB, free: 7.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.1321, allocations: 129.6 kB / 445.9 MB, free: 7.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.961e-05/0.1322, allocations: 39.92 kB / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1322, allocations: 0 / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002832/0.1325, allocations: 157.6 kB / 446.1 MB, free: 6.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1325, allocations: 10.97 kB / 446.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1326, allocations: 4 kB / 446.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1326, allocations: 4 kB / 446.1 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.1328, allocations: 47.88 kB / 446.1 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1328, allocations: 7.984 kB / 446.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.1329, allocations: 7.906 kB / 446.1 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1329, allocations: 11.94 kB / 446.2 MB, free: 6.816 MB / 282.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 () * 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.0001471/0.1331, allocations: 157.6 kB / 446.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.1333, allocations: 133.5 kB / 446.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.1334, allocations: 21.17 kB / 446.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1334, allocations: 3.938 kB / 446.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1334, allocations: 3.953 kB / 446.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1335, allocations: 0 / 446.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1336, allocations: 193.5 kB / 446.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1336, allocations: 0 / 446.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.1338, allocations: 27.98 kB / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1338, allocations: 4 kB / 446.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1338, allocations: 7.938 kB / 446.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1339, allocations: 0 / 446.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1339, allocations: 7.984 kB / 446.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1342, allocations: 164.7 kB / 446.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.1343, allocations: 97 kB / 447 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1343, allocations: 8 kB / 447 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.1344, allocations: 4 kB / 447 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1344, allocations: 7.984 kB / 447 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1344, allocations: 4 kB / 447 MB, free: 5.887 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.1345, allocations: 111.2 kB / 447.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1345, allocations: 0 / 447.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.1349, allocations: 24 kB / 447.1 MB, free: 5.754 MB / 282.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 () * 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.0006624/0.1356, allocations: 0.7692 MB / 447.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1358, allocations: 91.78 kB / 448 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1359, allocations: 0 / 448 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1359, allocations: 1.062 kB / 448 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1364, allocations: 97.17 kB / 448.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1379, allocations: 3.011 MB / 451.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1382, allocations: 0.724 MB / 451.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1382, allocations: 9.031 kB / 451.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.1383, allocations: 31.42 kB / 451.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of SimCode: time 1.153e-06/0.1383, allocations: 0 / 451.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.1597, allocations: 2.31 MB / 454.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003632/0.1601, allocations: 215.9 kB / 454.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.63, allocations: 0 / 454.4 MB, free: 14.31 MB / 298.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