Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 91.06 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.207e-05, allocations: 4 kB / 343.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09683, allocations: 51.48 MB / 395.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4384, allocations: 76.59 MB / 471.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.4387, allocations: 74.75 kB / 471.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002781/0.4415, allocations: 1.145 MB / 473.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4415, allocations: 2.781 kB / 473.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4415, allocations: 4 kB / 473.1 MB, free: 13.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002928/0.4418, allocations: 344.1 kB / 473.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4419, allocations: 8.031 kB / 473.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.442, allocations: 10.19 kB / 473.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4421, allocations: 192.3 kB / 473.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4422, allocations: 4.859 kB / 473.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.4422, allocations: 0.75 kB / 473.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.979e-05/0.4422, allocations: 12.31 kB / 473.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.4425, allocations: 102.4 kB / 473.7 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4425, allocations: 0 / 473.7 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.4425, allocations: 4 kB / 473.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4425, allocations: 0 / 473.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.4428, allocations: 244.6 kB / 474 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4429, allocations: 135.6 kB / 474.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.443, allocations: 21.41 kB / 474.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.443, allocations: 1.453 kB / 474.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.443, allocations: 37.94 kB / 474.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.443, allocations: 3.938 kB / 474.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001517/0.4432, allocations: 52.17 kB / 474.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4432, allocations: 77.72 kB / 474.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.4433, allocations: 125 kB / 474.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.4433, allocations: 25.7 kB / 474.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.4434, allocations: 88.38 kB / 474.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.4434, allocations: 8.547 kB / 474.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.4434, allocations: 0 / 474.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4434, allocations: 320.3 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.4435, allocations: 0 / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.4435, allocations: 31.77 kB / 474.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.721e-05/0.4435, allocations: 11.41 kB / 474.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4435, allocations: 0 / 474.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.486e-05/0.4436, allocations: 55.75 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4436, allocations: 4 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4436, allocations: 7.812 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4436, allocations: 0 / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.4437, allocations: 9.547 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4437, allocations: 8.828 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.4438, allocations: 0.75 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.4438, allocations: 4 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete 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 5.011e-05/0.4438, allocations: 105.6 kB / 475.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.476e-05/0.4439, allocations: 55.7 kB / 475.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.4439, allocations: 8.656 kB / 475.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.444, allocations: 16.42 kB / 475.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.444, allocations: 192 / 475.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.444, allocations: 4.031 kB / 475.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.444, allocations: 4.734 kB / 475.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.4441, allocations: 147.3 kB / 475.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4441, allocations: 0 / 475.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.4442, allocations: 14.23 kB / 475.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4442, allocations: 3.953 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4442, allocations: 3.938 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4442, allocations: 0.7031 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4442, allocations: 0.6562 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.065e-05/0.4443, allocations: 164.4 kB / 475.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4444, allocations: 99.77 kB / 475.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4444, allocations: 0.7969 kB / 475.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.4445, allocations: 4.844 kB / 475.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.4445, allocations: 0.75 kB / 475.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4445, allocations: 3.125 kB / 475.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.4446, allocations: 111 kB / 475.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4446, allocations: 0 / 475.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.4448, allocations: 4 kB / 475.7 MB, free: 10.91 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete 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.0002598/0.4451, allocations: 0.7655 MB / 476.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.4452, allocations: 16.3 kB / 476.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4452, allocations: 4 kB / 476.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.011e-05/0.4452, allocations: 0 / 476.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.4454, allocations: 21.23 kB / 476.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.4458, allocations: 121.1 kB / 476.7 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.4459, allocations: 0.6915 MB / 477.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.446, allocations: 9.266 kB / 477.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.446, allocations: 11.92 kB / 477.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.446, allocations: 3.938 kB / 477.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.4666, allocations: 0.8926 MB / 478.3 MB, free: 8.73 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.4668, allocations: 146.2 kB / 478.4 MB, free: 8.543 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.953, allocations: 4 kB / 478.4 MB, free: 8.539 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat