Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001157/0.001157, allocations: 98.47 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 195.2 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002636, allocations: 7.984 kB / 306.8 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001238/0.1308, allocations: 0.5902 MB / 358.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.1311, allocations: 151.5 kB / 359.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.729e-05/0.1312, allocations: 7.938 kB / 359.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.859e-05/0.1313, allocations: 7.922 kB / 359.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1314, allocations: 11.92 kB / 359.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1317, allocations: 39.91 kB / 359.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1318, allocations: 63.83 kB / 359.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1319, allocations: 44.09 kB / 359.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.1319, allocations: 15.86 kB / 359.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.132, allocations: 27.86 kB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.132, allocations: 4 kB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.1321, allocations: 0 / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.1321, allocations: 27.91 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1322, allocations: 41.62 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.1323, allocations: 67.88 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1323, allocations: 0 / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1323, allocations: 0 / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1323, allocations: 0 / 359.4 MB, free: 12.9 MB / 302.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.0005438/0.1329, allocations: 401.8 kB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1329, allocations: 8.031 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.133, allocations: 42.55 kB / 359.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.133, allocations: 11.81 kB / 359.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.1333, allocations: 202.3 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1334, allocations: 11.95 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1334, allocations: 11.94 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.134, allocations: 230.8 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1341, allocations: 3.953 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1341, allocations: 7.984 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1341, allocations: 4 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1343, allocations: 47.97 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.1345, allocations: 193.5 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1349, allocations: 143 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.1351, allocations: 84.81 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1351, allocations: 4 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1352, allocations: 38.5 kB / 360.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.1352, allocations: 0 / 360.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004701/0.1357, allocations: 180.2 kB / 361 MB, free: 11.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.1358, allocations: 63.39 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.136, allocations: 154.2 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.136, allocations: 29.7 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1361, allocations: 96.47 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1361, allocations: 11.98 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.1362, allocations: 0 / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1363, allocations: 322.8 kB / 361.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.1364, allocations: 23.98 kB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.1366, allocations: 128.2 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1367, allocations: 39.94 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.1367, allocations: 4 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003665/0.1371, allocations: 161.1 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1372, allocations: 8 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.1372, allocations: 4 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.1372, allocations: 4 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1374, allocations: 39.88 kB / 362.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.1375, allocations: 8.484 kB / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1376, allocations: 19.84 kB / 362.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1376, allocations: 8 kB / 362.1 MB, free: 9.93 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.0002097/0.1379, allocations: 149.7 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.1381, allocations: 137.4 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.1382, allocations: 17.19 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.1383, allocations: 0 / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.1383, allocations: 3.953 kB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1383, allocations: 3.984 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1385, allocations: 197.5 kB / 362.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1385, allocations: 3.938 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.1388, allocations: 31.98 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1388, allocations: 0 / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1388, allocations: 0 / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.1388, allocations: 4 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1388, allocations: 0 / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1392, allocations: 171.6 kB / 362.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1393, allocations: 104.9 kB / 362.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1394, allocations: 8 kB / 362.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.1394, allocations: 0 / 362.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-06/0.1394, allocations: 0 / 362.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1395, allocations: 8 kB / 362.9 MB, free: 9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1396, allocations: 118.4 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1396, allocations: 0 / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.1401, allocations: 20 kB / 363.1 MB, free: 8.867 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.0009714/0.1411, allocations: 0.7733 MB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1414, allocations: 100.5 kB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1414, allocations: 4.312 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.1414, allocations: 0 / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.1421, allocations: 93.73 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1434, allocations: 0.7718 MB / 364.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1437, allocations: 0.7201 MB / 365.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.1437, allocations: 9.078 kB / 365.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.1438, allocations: 27.44 kB / 365.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1438, allocations: 0 / 365.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1555, allocations: 2.282 MB / 367.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.1558, allocations: 218.5 kB / 368 MB, free: 3.879 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.128, allocations: 0 / 368 MB, free: 3.879 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat