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.001137/0.001137, allocations: 99.03 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002527, allocations: 7.984 kB / 306.8 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 51.49 MB / 358.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001724/0.1388, allocations: 1.145 MB / 359.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.139, allocations: 35.91 kB / 359.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.139, allocations: 0 / 359.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.1391, allocations: 7.875 kB / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.1391, allocations: 0 / 359.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1394, allocations: 23.91 kB / 359.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.1395, allocations: 31.92 kB / 359.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1396, allocations: 4 kB / 359.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.1397, allocations: 15.92 kB / 359.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1397, allocations: 7.922 kB / 359.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1398, allocations: 4 kB / 359.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.1398, allocations: 0 / 359.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.1398, allocations: 0 / 359.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1398, allocations: 37.64 kB / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.1399, allocations: 15.95 kB / 359.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1399, allocations: 0 / 359.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1399, allocations: 4 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1399, allocations: 0 / 359.6 MB, free: 12.45 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.0004352/0.1404, allocations: 343.5 kB / 360 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1404, allocations: 8.031 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.1405, allocations: 34.56 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1405, allocations: 7.906 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1408, allocations: 167.1 kB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.1408, allocations: 7.984 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1408, allocations: 7.953 kB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1413, allocations: 131.2 kB / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1413, allocations: 0 / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1413, allocations: 0 / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1413, allocations: 0 / 360.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1414, allocations: 27.97 kB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1416, allocations: 157.6 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1418, allocations: 62.58 kB / 360.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.1419, allocations: 24.89 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1419, allocations: 0 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.1419, allocations: 38.45 kB / 360.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1419, allocations: 0 / 360.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003015/0.1422, allocations: 85.56 kB / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1423, allocations: 51.41 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.1424, allocations: 113.8 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1424, allocations: 25.7 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1425, allocations: 80.14 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1425, allocations: 11.98 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.1425, allocations: 0 / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1427, allocations: 310.8 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.1427, allocations: 8 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.1427, allocations: 39.3 kB / 361.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.1428, allocations: 8 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1428, allocations: 4 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.646e-05/0.1429, allocations: 57.62 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.1429, allocations: 14.45 kB / 361.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1429, allocations: 4.125 kB / 361.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1429, allocations: 0 / 361.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.143, allocations: 11.94 kB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.143, allocations: 0 / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.1431, allocations: 7.906 kB / 361.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1431, allocations: 0 / 361.5 MB, free: 10.4 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 0.0001105/0.1432, allocations: 113.8 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1433, allocations: 65.66 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.1434, allocations: 12.23 kB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1434, allocations: 4 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1434, allocations: 4.234 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1434, allocations: 3.938 kB / 361.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1436, allocations: 157.7 kB / 361.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.1436, allocations: 7.969 kB / 361.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.1436, allocations: 11.94 kB / 361.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1436, allocations: 0 / 361.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1437, allocations: 0 / 361.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1437, allocations: 3.953 kB / 361.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1437, allocations: 0 / 361.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1439, allocations: 101 kB / 361.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1439, allocations: 81.05 kB / 362 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1439, allocations: 0 / 362 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.144, allocations: 4 kB / 362 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-06/0.144, allocations: 3.953 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.144, allocations: 7.984 kB / 362 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.533e-05/0.1441, allocations: 83.28 kB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.1443, allocations: 8 kB / 362.1 MB, free: 9.629 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.0005763/0.1449, allocations: 0.6476 MB / 362.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.145, allocations: 31.92 kB / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.145, allocations: 320 / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.145, allocations: 7.938 kB / 362.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1453, allocations: 27.98 kB / 362.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.146, allocations: 409 kB / 363.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1462, allocations: 0.6809 MB / 363.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.218e-05/0.1463, allocations: 3.984 kB / 363.9 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.1463, allocations: 11.44 kB / 363.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1463, allocations: 0 / 363.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.1579, allocations: 1.135 MB / 365.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.1582, allocations: 206.6 kB / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.075, allocations: 0 / 365.3 MB, free: 6.5 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