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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00127/0.001269, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 88.81 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.178e-05, allocations: 0 / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09729, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4269, allocations: 77.34 MB / 479.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4272, allocations: 79.33 kB / 479.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003191/0.4304, allocations: 1.314 MB / 480.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4304, allocations: 0.5625 kB / 480.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4304, allocations: 4.531 kB / 480.9 MB, free: 10.89 MB / 346.7 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.0002391/0.4307, allocations: 352.9 kB / 481.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4307, allocations: 11.34 kB / 481.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.4308, allocations: 43.11 kB / 481.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.4308, allocations: 8.062 kB / 481.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4309, allocations: 187.3 kB / 481.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.431, allocations: 1.562 kB / 481.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.431, allocations: 7.062 kB / 481.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.4312, allocations: 145.1 kB / 481.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.4312, allocations: 0 / 481.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.4312, allocations: 4 kB / 481.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4313, allocations: 0.5625 kB / 481.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.4313, allocations: 22.61 kB / 481.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.4314, allocations: 171.4 kB / 481.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4315, allocations: 80.12 kB / 481.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.4316, allocations: 43.61 kB / 481.9 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.4316, allocations: 0 / 481.9 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.4317, allocations: 37.88 kB / 482 MB, free: 9.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.4317, allocations: 0 / 482 MB, free: 9.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001442/0.4318, allocations: 89.33 kB / 482 MB, free: 9.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.4319, allocations: 54.47 kB / 482.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.4319, allocations: 125 kB / 482.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.432, allocations: 25.7 kB / 482.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.432, allocations: 94.81 kB / 482.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.432, allocations: 3.906 kB / 482.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.432, allocations: 4 kB / 482.3 MB, free: 9.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.4321, allocations: 322.7 kB / 482.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.4321, allocations: 7.312 kB / 482.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.4321, allocations: 54.81 kB / 482.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.4322, allocations: 30.23 kB / 482.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4322, allocations: 5.156 kB / 482.8 MB, free: 8.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.749e-05/0.4323, allocations: 88.12 kB / 482.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4323, allocations: 11.95 kB / 482.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4323, allocations: 0 / 482.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4323, allocations: 4 kB / 482.9 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.4324, allocations: 15.98 kB / 482.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4324, allocations: 4 kB / 482.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.4324, allocations: 7.906 kB / 482.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4325, allocations: 4 kB / 482.9 MB, free: 8.781 MB / 346.7 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 () * 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 5.376e-05/0.4325, allocations: 121.2 kB / 483 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.4326, allocations: 79.58 kB / 483.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.4326, allocations: 17.11 kB / 483.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4327, allocations: 0 / 483.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4327, allocations: 1.688 kB / 483.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4327, allocations: 0 / 483.1 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.521e-05/0.4328, allocations: 173.9 kB / 483.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4328, allocations: 0 / 483.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.4328, allocations: 15.94 kB / 483.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4328, allocations: 0 / 483.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.4328, allocations: 6.938 kB / 483.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4329, allocations: 9.766 kB / 483.3 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4329, allocations: 3.984 kB / 483.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.433, allocations: 104.8 kB / 483.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.433, allocations: 96.38 kB / 483.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.433, allocations: 0 / 483.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.301e-05/0.4331, allocations: 6.922 kB / 483.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-06/0.4331, allocations: 8.656 kB / 483.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4331, allocations: 0 / 483.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.4331, allocations: 111.8 kB / 483.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4331, allocations: 0 / 483.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.4333, allocations: 7.438 kB / 483.6 MB, free: 8.012 MB / 346.7 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 () * 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.0003448/0.4337, allocations: 0.6677 MB / 484.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.543e-05/0.4338, allocations: 47.8 kB / 484.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4338, allocations: 0 / 484.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.4338, allocations: 4 kB / 484.4 MB, free: 7.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.434, allocations: 45.72 kB / 484.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.4344, allocations: 159.8 kB / 484.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4345, allocations: 0.7009 MB / 485.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.4345, allocations: 12.66 kB / 485.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.4346, allocations: 18.19 kB / 485.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4346, allocations: 0 / 485.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.4456, allocations: 1.541 MB / 486.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.4458, allocations: 178.4 kB / 487 MB, free: 4.797 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.967, allocations: 0 / 487 MB, free: 4.797 MB / 346.7 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