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.0009795/0.0009796, allocations: 198.9 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.203/1.203, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008573/0.0008574, allocations: 95.39 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002037/0.0002039, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1808, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08697/0.2678, allocations: 77.78 MB / 487.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.2681, allocations: 75.95 kB / 487.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005147/0.2733, allocations: 1.827 MB / 489.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2733, allocations: 0 / 489.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.2733, allocations: 4 kB / 489.2 MB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004843/0.2738, allocations: 398.9 kB / 489.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2739, allocations: 12.03 kB / 489.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.2739, allocations: 38.44 kB / 489.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.2741, allocations: 39.77 kB / 489.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2744, allocations: 195.6 kB / 489.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2744, allocations: 8 kB / 489.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.2744, allocations: 7.953 kB / 489.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.2747, allocations: 125.9 kB / 490 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2748, allocations: 3.938 kB / 490 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2748, allocations: 4 kB / 490 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2748, allocations: 4 kB / 490 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2749, allocations: 43.97 kB / 490 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.2754, allocations: 389.8 kB / 490.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.2756, allocations: 83.78 kB / 490.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2756, allocations: 0 / 490.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.2756, allocations: 34.55 kB / 490.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2756, allocations: 0 / 490.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004058/0.2761, allocations: 129.7 kB / 490.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.2761, allocations: 110.8 kB / 490.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2763, allocations: 135.4 kB / 490.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2763, allocations: 25.7 kB / 490.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.2763, allocations: 100.2 kB / 491 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.2764, allocations: 4 kB / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.2764, allocations: 0 / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2765, allocations: 322.8 kB / 491.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.2766, allocations: 19.98 kB / 491.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.2767, allocations: 47.42 kB / 491.4 MB, free: 8.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.2768, allocations: 23.98 kB / 491.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2768, allocations: 3.953 kB / 491.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002097/0.277, allocations: 105.4 kB / 491.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.277, allocations: 4 kB / 491.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.277, allocations: 0 / 491.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.277, allocations: 4 kB / 491.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.2771, allocations: 11.98 kB / 491.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2772, allocations: 4 kB / 491.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.2772, allocations: 12.11 kB / 491.6 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2772, allocations: 4 kB / 491.6 MB, free: 8.227 MB / 362.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 () * Number of clocked 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 7.976e-05/0.2773, allocations: 113.8 kB / 491.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2774, allocations: 69.33 kB / 491.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2775, allocations: 11.86 kB / 491.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2775, allocations: 7.938 kB / 491.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2775, allocations: 0 / 491.8 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2775, allocations: 4.031 kB / 491.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2778, allocations: 185.6 kB / 492 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2778, allocations: 0 / 492 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.2779, allocations: 19.94 kB / 492 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2779, allocations: 0 / 492 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2779, allocations: 0 / 492 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2779, allocations: 4 kB / 492 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2779, allocations: 0 / 492 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.2782, allocations: 298.9 kB / 492.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.2783, allocations: 96.98 kB / 492.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2783, allocations: 4 kB / 492.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2784, allocations: 12 kB / 492.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2785, allocations: 4.125 kB / 492.4 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.2785, allocations: 7.984 kB / 492.4 MB, free: 7.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.765e-05/0.2786, allocations: 117.5 kB / 492.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2786, allocations: 0 / 492.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000257/0.2788, allocations: 12 kB / 492.5 MB, free: 7.16 MB / 362.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 () * Number of clocked 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.000637/0.2795, allocations: 0.9784 MB / 493.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.2797, allocations: 51.91 kB / 493.6 MB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2797, allocations: 0 / 493.6 MB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.2798, allocations: 28.23 kB / 493.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2801, allocations: 31.16 kB / 493.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2813, allocations: 1.068 MB / 494.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2816, allocations: 0.7004 MB / 495.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.2817, allocations: 12.19 kB / 495.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.2817, allocations: 19.48 kB / 495.4 MB, free: 4.141 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2817, allocations: 0 / 495.4 MB, free: 4.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2937, allocations: 1.597 MB / 497 MB, free: 2.727 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.294, allocations: 220.9 kB / 497.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/1.818, allocations: 0 / 497.2 MB, free: 2.477 MB / 362.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