Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 199 kB / 8.767 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00096/0.0009603, allocations: 94.67 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.42e-05, allocations: 8 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 51.47 MB / 395.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.5388, allocations: 77.05 MB / 472.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5391, allocations: 79.64 kB / 472.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004915/0.544, allocations: 1.814 MB / 474.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5441, allocations: 0 / 474.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.5441, allocations: 3.172 kB / 474.2 MB, free: 12.96 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.0003254/0.5444, allocations: 385.3 kB / 474.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5445, allocations: 15.5 kB / 474.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.5447, allocations: 33.86 kB / 474.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.5448, allocations: 190.9 kB / 474.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.5448, allocations: 4.859 kB / 474.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5449, allocations: 4 kB / 474.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.219e-05/0.545, allocations: 29.02 kB / 474.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.5451, allocations: 112.1 kB / 475 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5452, allocations: 0 / 475 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5452, allocations: 0 / 475 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5452, allocations: 8 kB / 475 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.5456, allocations: 356 kB / 475.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.5456, allocations: 65.55 kB / 475.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.5457, allocations: 31.3 kB / 475.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.5457, allocations: 8.484 kB / 475.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.5457, allocations: 39.11 kB / 475.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.5457, allocations: 4 kB / 475.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001837/0.5459, allocations: 62.94 kB / 475.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.546, allocations: 111.5 kB / 475.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.5461, allocations: 130.5 kB / 475.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.5461, allocations: 26.36 kB / 475.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.5461, allocations: 100.2 kB / 475.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.5461, allocations: 8.766 kB / 475.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5462, allocations: 4.094 kB / 475.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.5462, allocations: 317 kB / 476.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.5462, allocations: 8.344 kB / 476.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.5463, allocations: 32.98 kB / 476.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.5463, allocations: 9.828 kB / 476.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5463, allocations: 7.938 kB / 476.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.662e-05/0.5464, allocations: 69.69 kB / 476.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5464, allocations: 4.516 kB / 476.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5464, allocations: 0 / 476.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5465, allocations: 4 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.5466, allocations: 17.09 kB / 476.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.5466, allocations: 4.703 kB / 476.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.5466, allocations: 13.3 kB / 476.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5467, allocations: 4.656 kB / 476.4 MB, free: 10.74 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: 0 () * 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 4.792e-05/0.5467, allocations: 101.5 kB / 476.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001228/0.5468, allocations: 75.03 kB / 476.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.5469, allocations: 12.12 kB / 476.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.5469, allocations: 13 kB / 476.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5469, allocations: 4 kB / 476.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5469, allocations: 4.094 kB / 476.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5469, allocations: 0.7031 kB / 476.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.5471, allocations: 151.5 kB / 476.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5471, allocations: 0 / 476.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.5472, allocations: 19.47 kB / 476.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5472, allocations: 0 / 476.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.5472, allocations: 11.92 kB / 476.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5472, allocations: 0 / 476.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5472, allocations: 0.6094 kB / 476.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.5474, allocations: 269.6 kB / 477 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.5474, allocations: 96.84 kB / 477.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5475, allocations: 2.953 kB / 477.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5476, allocations: 5.5 kB / 477.1 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.5476, allocations: 9.266 kB / 477.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.5476, allocations: 4.203 kB / 477.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.5477, allocations: 114 kB / 477.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5477, allocations: 0 / 477.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.548, allocations: 8 kB / 477.3 MB, free: 9.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0003273/0.5483, allocations: 0.9459 MB / 478.2 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.404e-05/0.5484, allocations: 29.98 kB / 478.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5484, allocations: 0 / 478.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.5484, allocations: 9.344 kB / 478.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.5487, allocations: 34.62 kB / 478.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.5492, allocations: 164.6 kB / 478.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.5493, allocations: 0.7015 MB / 479.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.5494, allocations: 7.281 kB / 479.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.5495, allocations: 27.7 kB / 479.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.5495, allocations: 1.875 kB / 479.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.5723, allocations: 1.255 MB / 480.4 MB, free: 7.234 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.5725, allocations: 164.8 kB / 480.6 MB, free: 7.047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.131, allocations: 4 kB / 480.6 MB, free: 7.043 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat