Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009642/0.0009689, allocations: 95.83 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 204 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002842, allocations: 4 kB / 306.7 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 51.49 MB / 358.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00134/0.1373, allocations: 0.5472 MB / 358.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.1377, allocations: 119.6 kB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.1378, allocations: 3.938 kB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1379, allocations: 3.984 kB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1381, allocations: 11.94 kB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1384, allocations: 39.16 kB / 358.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1385, allocations: 27.91 kB / 358.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1387, allocations: 23.97 kB / 359 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.1387, allocations: 7.938 kB / 359 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.1388, allocations: 19.91 kB / 359 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1389, allocations: 4 kB / 359 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.1389, allocations: 0 / 359 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.1389, allocations: 11.92 kB / 359 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.139, allocations: 41.64 kB / 359 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1391, allocations: 39.92 kB / 359.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1392, allocations: 3.938 kB / 359.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1392, allocations: 0 / 359.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1392, allocations: 0 / 359.1 MB, free: 13.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007371/0.1399, allocations: 363.3 kB / 359.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.141e-05/0.14, allocations: 8.031 kB / 359.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1401, allocations: 34.56 kB / 359.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.1401, allocations: 7.906 kB / 359.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1405, allocations: 201.7 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1405, allocations: 11.89 kB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1405, allocations: 8 kB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.1409, allocations: 127.3 kB / 359.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.141, allocations: 0 / 359.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.141, allocations: 7.938 kB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.141, allocations: 4 kB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.1411, allocations: 19.98 kB / 359.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.1414, allocations: 177.6 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1416, allocations: 82.69 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1416, allocations: 0 / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.1417, allocations: 30.56 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 3.506e-06/0.1417, allocations: 7.984 kB / 360.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003324/0.142, allocations: 101.7 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.1421, allocations: 63.31 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1423, allocations: 137.8 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.1424, allocations: 29.7 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.1425, allocations: 92.12 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1425, allocations: 0 / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1425, allocations: 0 / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.1427, allocations: 326.8 kB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.1428, allocations: 8 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.1429, allocations: 58.8 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.1429, allocations: 20 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1429, allocations: 0 / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001638/0.1431, allocations: 97.34 kB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.1431, allocations: 8 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1431, allocations: 256 / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1432, allocations: 8 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1433, allocations: 12.19 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1433, allocations: 4 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.1434, allocations: 19.86 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1434, allocations: 4 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001723/0.1436, allocations: 121.8 kB / 361.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1437, allocations: 85.53 kB / 361.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.1438, allocations: 20.66 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1438, allocations: 0 / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1438, allocations: 0 / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1438, allocations: 0 / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.144, allocations: 177.5 kB / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.144, allocations: 0 / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.1441, allocations: 15.94 kB / 361.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1441, allocations: 4 kB / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1442, allocations: 3.953 kB / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1442, allocations: 0 / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1442, allocations: 0 / 361.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1444, allocations: 117 kB / 361.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.1445, allocations: 93 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1445, allocations: 4 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.1445, allocations: 7.938 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-06/0.1446, allocations: 4 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1446, allocations: 0 / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1447, allocations: 105.8 kB / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1447, allocations: 0 / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1449, allocations: 12 kB / 361.9 MB, free: 9.938 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008969/0.1458, allocations: 0.6769 MB / 362.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.146, allocations: 48.28 kB / 362.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.146, allocations: 8.125 kB / 362.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.146, allocations: 0 / 362.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1464, allocations: 47.91 kB / 362.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1481, allocations: 1.582 MB / 364.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.1485, allocations: 0.7004 MB / 364.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.1486, allocations: 12.66 kB / 365 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.1487, allocations: 19.5 kB / 365 MB, free: 6.711 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1487, allocations: 0 / 365 MB, free: 6.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.1651, allocations: 1.543 MB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.1654, allocations: 194.6 kB / 366.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.965, allocations: 0 / 366.7 MB, free: 5.078 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat