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.001096/0.001096, allocations: 197.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008875/0.0008874, allocations: 95.02 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.388e-05, allocations: 8 kB / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 51.48 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/0.4961, allocations: 76.41 MB / 471.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4964, allocations: 74.38 kB / 471.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002772/0.4992, allocations: 1.1 MB / 472.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4992, allocations: 0 / 472.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.4992, allocations: 0 / 472.8 MB, free: 13.76 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.0002819/0.4995, allocations: 348.4 kB / 473.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.4996, allocations: 13.48 kB / 473.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.4996, allocations: 4.688 kB / 473.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.4998, allocations: 182.5 kB / 473.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.4998, allocations: 4.859 kB / 473.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.4998, allocations: 3.938 kB / 473.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.053e-05/0.4999, allocations: 17.72 kB / 473.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.5001, allocations: 75.66 kB / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5001, allocations: 3.938 kB / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5001, allocations: 0.9375 kB / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5001, allocations: 0 / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.5004, allocations: 245.8 kB / 473.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.5005, allocations: 40.98 kB / 473.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.5005, allocations: 13.84 kB / 473.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5005, allocations: 9.062 kB / 473.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.5006, allocations: 30.56 kB / 473.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.5006, allocations: 0 / 473.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.5007, allocations: 42.77 kB / 473.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.5007, allocations: 82.03 kB / 473.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.5008, allocations: 123.7 kB / 474.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.5009, allocations: 29.77 kB / 474.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.5009, allocations: 88.64 kB / 474.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.5009, allocations: 0 / 474.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5009, allocations: 0 / 474.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.501, allocations: 317.7 kB / 474.5 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-06/0.501, allocations: 4 kB / 474.5 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.501, allocations: 14.91 kB / 474.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.482e-05/0.501, allocations: 8.062 kB / 474.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.501, allocations: 0 / 474.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.236e-05/0.5011, allocations: 43.28 kB / 474.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5011, allocations: 8 kB / 474.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5011, allocations: 3.938 kB / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5012, allocations: 0 / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.5012, allocations: 5.641 kB / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5012, allocations: 0 / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.5013, allocations: 5.656 kB / 474.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5013, allocations: 4 kB / 474.6 MB, free: 11.9 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 4.352e-05/0.5013, allocations: 108 kB / 474.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.363e-05/0.5014, allocations: 52.12 kB / 474.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.5014, allocations: 3.906 kB / 474.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.5015, allocations: 12.45 kB / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5015, allocations: 0 / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5015, allocations: 0 / 474.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5015, allocations: 4 kB / 474.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.5016, allocations: 151.1 kB / 474.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5016, allocations: 0 / 474.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.5017, allocations: 5.359 kB / 474.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.5017, allocations: 3.953 kB / 474.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.5017, allocations: 4 kB / 474.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5017, allocations: 0 / 474.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5017, allocations: 1.172 kB / 474.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/0.5018, allocations: 159.7 kB / 475.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.5018, allocations: 91.66 kB / 475.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5019, allocations: 2.391 kB / 475.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.5019, allocations: 9.109 kB / 475.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.502, allocations: 1.219 kB / 475.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.502, allocations: 0 / 475.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.502, allocations: 103.5 kB / 475.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.502, allocations: 4.031 kB / 475.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.5023, allocations: 4 kB / 475.3 MB, free: 11.16 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.0002581/0.5025, allocations: 0.7586 MB / 476 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.321e-05/0.5026, allocations: 16.48 kB / 476.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5026, allocations: 0 / 476.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.5026, allocations: 4 kB / 476.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.5029, allocations: 11.12 kB / 476.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.5032, allocations: 122.1 kB / 476.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.5033, allocations: 0.6888 MB / 476.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.5034, allocations: 4.281 kB / 476.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.5034, allocations: 11.44 kB / 476.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5034, allocations: 0 / 476.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.524, allocations: 0.8165 MB / 477.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.5243, allocations: 161.7 kB / 477.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.028, allocations: 0 / 477.9 MB, free: 8.855 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