Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001205/0.001206, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 4 kB / 306.7 MB, free: 1.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 51.49 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001849/0.1402, allocations: 1.141 MB / 359.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001782/0.1404, allocations: 31.84 kB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.1405, allocations: 0 / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.1405, allocations: 0 / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.136e-05/0.1405, allocations: 11.97 kB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1408, allocations: 16 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.1409, allocations: 27.84 kB / 359.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.141, allocations: 4 kB / 359.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.141, allocations: 11.98 kB / 359.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.1411, allocations: 11.92 kB / 359.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1411, allocations: 0 / 359.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.1411, allocations: 0 / 359.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1413, allocations: 15.88 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.1413, allocations: 29.69 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.125e-05/0.1414, allocations: 15.97 kB / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1414, allocations: 0 / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.1414, allocations: 8 kB / 359.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1414, allocations: 0 / 359.5 MB, free: 12.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004396/0.1419, allocations: 335.5 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1419, allocations: 8.031 kB / 359.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.142, allocations: 34.56 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1421, allocations: 7.906 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1423, allocations: 171.1 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.1423, allocations: 7.938 kB / 360.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1423, allocations: 3.953 kB / 360.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.1427, allocations: 131.2 kB / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1427, allocations: 0 / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1427, allocations: 0 / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1427, allocations: 4 kB / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1429, allocations: 27.97 kB / 360.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.143, allocations: 153.7 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1432, allocations: 62.48 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1432, allocations: 0 / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.1433, allocations: 34.52 kB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1433, allocations: 0 / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003126/0.1436, allocations: 85.73 kB / 360.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1437, allocations: 55.41 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1438, allocations: 109.8 kB / 360.7 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1438, allocations: 33.64 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1438, allocations: 80.14 kB / 360.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.1439, allocations: 11.98 kB / 360.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.1439, allocations: 0 / 360.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.144, allocations: 310.8 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.1441, allocations: 8 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.1441, allocations: 27.42 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.1441, allocations: 12 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1441, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.171e-05/0.1442, allocations: 61.62 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1442, allocations: 7.938 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1443, allocations: 11.89 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1443, allocations: 0 / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.1444, allocations: 12.12 kB / 361.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1444, allocations: 384 / 361.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.1444, allocations: 7.906 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1444, allocations: 0 / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.33e-05/0.1445, allocations: 113.8 kB / 361.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.1447, allocations: 77.77 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.1447, allocations: 7.906 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1447, allocations: 3.953 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1447, allocations: 0 / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1447, allocations: 4 kB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1448, allocations: 153.7 kB / 361.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1449, allocations: 4 kB / 361.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.1449, allocations: 11.98 kB / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1449, allocations: 0 / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1449, allocations: 0 / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1449, allocations: 0 / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.145, allocations: 3.953 kB / 361.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1452, allocations: 104.9 kB / 361.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.1452, allocations: 81.05 kB / 361.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1452, allocations: 0 / 361.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.1453, allocations: 4 kB / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-06/0.1453, allocations: 0 / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1453, allocations: 15.88 kB / 361.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.35e-05/0.1453, allocations: 83.28 kB / 362 MB, free: 9.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1454, allocations: 0 / 362 MB, free: 9.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.1456, allocations: 4 kB / 362 MB, free: 9.625 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0007431/0.1463, allocations: 0.6437 MB / 362.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1465, allocations: 31.92 kB / 362.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1465, allocations: 0 / 362.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-07/0.1465, allocations: 0 / 362.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1468, allocations: 32.23 kB / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.1477, allocations: 0.8482 MB / 363.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1481, allocations: 0.6887 MB / 364.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.1481, allocations: 0 / 364.2 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1481, allocations: 7.438 kB / 364.2 MB, free: 7.254 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1481, allocations: 4 kB / 364.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.161, allocations: 1.134 MB / 365.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/0.1613, allocations: 200.3 kB / 365.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.063, allocations: 0 / 365.5 MB, free: 6.051 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat