Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009935/0.0009936, allocations: 96.88 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001441, allocations: 194.1 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.4 MB / 246 MB, free: 11.95 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 11.98 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001857/0.1397, allocations: 1.153 MB / 359.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002665/0.14, allocations: 99.64 kB / 359.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.14, allocations: 8 kB / 359.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1401, allocations: 7.922 kB / 359.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.1401, allocations: 3.938 kB / 359.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1404, allocations: 15.98 kB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.1405, allocations: 27.86 kB / 359.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.1406, allocations: 4 kB / 359.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.1406, allocations: 11.98 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.1406, allocations: 7.938 kB / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1407, allocations: 0 / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.1407, allocations: 4 kB / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1407, allocations: 0 / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1408, allocations: 37.64 kB / 359.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.063e-05/0.1408, allocations: 15.97 kB / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1408, allocations: 0 / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1408, allocations: 0 / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1409, allocations: 0 / 359.7 MB, free: 12.57 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.0004187/0.1413, allocations: 343.5 kB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1413, allocations: 12.03 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.1414, allocations: 34.56 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.1414, allocations: 7.906 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1416, allocations: 171.1 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.1416, allocations: 0 / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1417, allocations: 7.953 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.142, allocations: 123.2 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.142, allocations: 0 / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.142, allocations: 0 / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.142, allocations: 0 / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1421, allocations: 23.98 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1422, allocations: 153.7 kB / 360.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1424, allocations: 62.58 kB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.1425, allocations: 24.89 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1425, allocations: 3.953 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1426, allocations: 42.44 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1426, allocations: 0 / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000225/0.1428, allocations: 77.58 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1429, allocations: 51.41 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.143, allocations: 105.8 kB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.143, allocations: 29.7 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.143, allocations: 84.14 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.143, allocations: 4 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.143, allocations: 0 / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1432, allocations: 318.8 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.1432, allocations: 4 kB / 361.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.1432, allocations: 31.38 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.169e-05/0.1432, allocations: 11.94 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1433, allocations: 0 / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.852e-05/0.1433, allocations: 53.62 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1434, allocations: 10.45 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1434, allocations: 0 / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1434, allocations: 4 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.1435, allocations: 8.234 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1435, allocations: 7.922 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.1435, allocations: 16.06 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1435, allocations: 4 kB / 361.5 MB, free: 10.53 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001026/0.1436, allocations: 109.8 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1438, allocations: 61.59 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.1438, allocations: 15.84 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1438, allocations: 0 / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.1438, allocations: 0 / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1438, allocations: 4.328 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.144, allocations: 153.7 kB / 361.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.144, allocations: 0 / 361.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.144, allocations: 15.92 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1441, allocations: 3.984 kB / 361.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1441, allocations: 0 / 361.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1441, allocations: 3.953 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.1441, allocations: 4 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1442, allocations: 85.11 kB / 361.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.1443, allocations: 88.95 kB / 362 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1443, allocations: 4 kB / 362 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.1443, allocations: 4 kB / 362 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-06/0.1443, allocations: 3.953 kB / 362 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1443, allocations: 0 / 362 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.981e-05/0.1444, allocations: 83.27 kB / 362.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 4 kB / 362.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.1446, allocations: 8 kB / 362.1 MB, free: 9.781 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004402/0.1451, allocations: 0.6163 MB / 362.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1452, allocations: 31.92 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1452, allocations: 0 / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1452, allocations: 0 / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.1455, allocations: 35.88 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.1461, allocations: 387.7 kB / 363.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1464, allocations: 0.677 MB / 363.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.1464, allocations: 4 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.1464, allocations: 19.42 kB / 363.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1465, allocations: 0 / 363.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.1599, allocations: 1.026 MB / 364.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.1603, allocations: 205.7 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.079, allocations: 0 / 365.1 MB, free: 6.816 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat