Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 196.5 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.578/1.578, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008486/0.0008484, allocations: 93.42 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.918e-05, allocations: 0 / 350.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 51.47 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3929/0.5306, allocations: 77.08 MB / 479.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.5311, allocations: 72.72 kB / 479.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002832/0.534, allocations: 1.109 MB / 480.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.534, allocations: 0.5625 kB / 480.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.534, allocations: 3.062 kB / 480.4 MB, free: 11.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002695/0.5343, allocations: 340.9 kB / 480.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5343, allocations: 12.03 kB / 480.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.5344, allocations: 30.56 kB / 480.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.5344, allocations: 11.22 kB / 480.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.5346, allocations: 183.4 kB / 481 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5346, allocations: 4.234 kB / 481 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.5346, allocations: 7.625 kB / 481 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5348, allocations: 85.16 kB / 481 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5348, allocations: 4 kB / 481 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5348, allocations: 4.062 kB / 481.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5349, allocations: 4 kB / 481.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.5349, allocations: 4 kB / 481.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.5353, allocations: 272.2 kB / 481.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.472e-05/0.5353, allocations: 40.78 kB / 481.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.5354, allocations: 13.78 kB / 481.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.5354, allocations: 0 / 481.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5354, allocations: 38.38 kB / 481.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5354, allocations: 0 / 481.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.5356, allocations: 37.77 kB / 481.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5357, allocations: 91.47 kB / 481.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.5358, allocations: 127.1 kB / 481.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.5358, allocations: 25.7 kB / 481.7 MB, free: 9.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.5359, allocations: 83.98 kB / 481.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.298e-06/0.5359, allocations: 4 kB / 481.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-06/0.5359, allocations: 0 / 481.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.5359, allocations: 314.8 kB / 482.1 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.536, allocations: 11.25 kB / 482.1 MB, free: 9.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.536, allocations: 10.88 kB / 482.1 MB, free: 9.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.544e-05/0.536, allocations: 4 kB / 482.1 MB, free: 9.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.536, allocations: 4.516 kB / 482.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.749e-05/0.5361, allocations: 49.2 kB / 482.2 MB, free: 9.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5361, allocations: 4 kB / 482.2 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5361, allocations: 128 / 482.2 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5361, allocations: 5.688 kB / 482.2 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.5362, allocations: 11.98 kB / 482.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5362, allocations: 0.5625 kB / 482.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.5363, allocations: 5.125 kB / 482.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5363, allocations: 0 / 482.2 MB, free: 9.289 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.976e-05/0.5364, allocations: 104.6 kB / 482.3 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.5365, allocations: 49.48 kB / 482.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.5365, allocations: 15.12 kB / 482.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5365, allocations: 1.594 kB / 482.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5365, allocations: 0 / 482.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5365, allocations: 0 / 482.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.5367, allocations: 164.1 kB / 482.5 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5367, allocations: 0 / 482.5 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.5367, allocations: 12.45 kB / 482.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5367, allocations: 0 / 482.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.5367, allocations: 0 / 482.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.5367, allocations: 1.375 kB / 482.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5368, allocations: 4 kB / 482.5 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.504e-05/0.5368, allocations: 168.1 kB / 482.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.5369, allocations: 89 kB / 482.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.5369, allocations: 0 / 482.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.537, allocations: 7.125 kB / 482.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.537, allocations: 4.781 kB / 482.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.537, allocations: 0 / 482.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.5371, allocations: 103.8 kB / 482.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5371, allocations: 1.406 kB / 482.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.5373, allocations: 7.938 kB / 482.9 MB, free: 8.504 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002713/0.5376, allocations: 0.7579 MB / 483.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.069e-05/0.5377, allocations: 11.94 kB / 483.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5377, allocations: 0 / 483.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.5377, allocations: 7.312 kB / 483.7 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5379, allocations: 17.16 kB / 483.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.5383, allocations: 125.4 kB / 483.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.5384, allocations: 0.6887 MB / 484.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.32e-05/0.5384, allocations: 4.594 kB / 484.5 MB, free: 6.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.5385, allocations: 19.17 kB / 484.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5385, allocations: 0 / 484.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.5503, allocations: 1.122 MB / 485.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001313/0.5505, allocations: 169.8 kB / 485.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.09, allocations: 7.438 kB / 485.8 MB, free: 5.695 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat