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.0011/0.0011, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008262/0.0008262, allocations: 108.5 kB / 297.3 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002128, allocations: 4 kB / 358 MB, free: 9.246 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08328/0.267, allocations: 77.15 MB / 486.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.2672, allocations: 75.95 kB / 486.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002525/0.2698, allocations: 1.105 MB / 487.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2698, allocations: 0.875 kB / 487.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.2698, allocations: 0 / 487.8 MB, free: 12.28 MB / 362.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.0003237/0.2701, allocations: 356.3 kB / 488.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2702, allocations: 9.969 kB / 488.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.2702, allocations: 30.56 kB / 488.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.2702, allocations: 7.906 kB / 488.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.2704, allocations: 184.6 kB / 488.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.2704, allocations: 4 kB / 488.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2704, allocations: 11.94 kB / 488.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.2707, allocations: 93.05 kB / 488.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.2707, allocations: 0 / 488.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.2707, allocations: 0 / 488.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2707, allocations: 0 / 488.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.2708, allocations: 23.92 kB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.2711, allocations: 265.8 kB / 488.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.2712, allocations: 53.14 kB / 488.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.2712, allocations: 0 / 488.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2712, allocations: 34.62 kB / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2712, allocations: 0 / 488.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.2714, allocations: 73.73 kB / 489 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2715, allocations: 81.11 kB / 489 MB, free: 10.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.2716, allocations: 123.1 kB / 489.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2716, allocations: 25.7 kB / 489.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.2716, allocations: 92.02 kB / 489.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.2717, allocations: 0 / 489.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.2717, allocations: 4 kB / 489.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.2718, allocations: 310.8 kB / 489.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.2718, allocations: 16.02 kB / 489.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.2718, allocations: 25.66 kB / 489.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.2719, allocations: 7.984 kB / 489.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2719, allocations: 0 / 489.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001023/0.272, allocations: 65.61 kB / 489.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.272, allocations: 4 kB / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.272, allocations: 7.984 kB / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2721, allocations: 0 / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.2721, allocations: 11.92 kB / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2721, allocations: 0 / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.2722, allocations: 4 kB / 489.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2722, allocations: 4.062 kB / 489.7 MB, free: 10.14 MB / 362.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 () * Number of clocked 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 7.574e-05/0.2723, allocations: 117.8 kB / 489.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.2723, allocations: 37.64 kB / 489.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.2723, allocations: 11.88 kB / 489.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2724, allocations: 0 / 489.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2724, allocations: 4 kB / 489.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2724, allocations: 4 kB / 489.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2725, allocations: 161.7 kB / 490.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2725, allocations: 4.031 kB / 490.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.2726, allocations: 4 kB / 490.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2726, allocations: 3.953 kB / 490.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.2726, allocations: 7.938 kB / 490.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2726, allocations: 0 / 490.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2726, allocations: 0 / 490.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2728, allocations: 178 kB / 490.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.2729, allocations: 96.94 kB / 490.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2729, allocations: 4 kB / 490.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.2729, allocations: 4 kB / 490.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.273, allocations: 4 kB / 490.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.273, allocations: 0 / 490.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.273, allocations: 106.1 kB / 490.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.273, allocations: 4.031 kB / 490.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.2732, allocations: 4 kB / 490.5 MB, free: 9.285 MB / 362.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 () * Number of clocked 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.0003955/0.2736, allocations: 0.7797 MB / 491.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.2738, allocations: 16 kB / 491.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2738, allocations: 7.875 kB / 491.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.2738, allocations: 11.98 kB / 491.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.274, allocations: 18.47 kB / 491.3 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.2747, allocations: 0.5801 MB / 491.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2749, allocations: 0.6887 MB / 492.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.275, allocations: 0 / 492.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.275, allocations: 15.42 kB / 492.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.275, allocations: 0 / 492.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.2855, allocations: 1.131 MB / 493.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.2857, allocations: 201.5 kB / 493.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/1.703, allocations: 0 / 493.9 MB, free: 5.863 MB / 362.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