Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001074/0.001073, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007893/0.0007892, allocations: 94.66 kB / 297.2 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000204/0.000204, allocations: 12 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1829, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08266/0.2656, allocations: 77.22 MB / 486.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.2658, allocations: 75.95 kB / 486.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003199/0.269, allocations: 1.328 MB / 488.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.269, allocations: 4 kB / 488.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2691, allocations: 0 / 488.1 MB, free: 12.02 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.0003485/0.2694, allocations: 376.9 kB / 488.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2695, allocations: 12.03 kB / 488.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.2695, allocations: 34.56 kB / 488.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.2695, allocations: 11.84 kB / 488.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.2697, allocations: 193.2 kB / 488.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2697, allocations: 7.953 kB / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2698, allocations: 3.938 kB / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.27, allocations: 129.9 kB / 488.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.27, allocations: 0 / 488.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2701, allocations: 4 kB / 488.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2701, allocations: 3.938 kB / 488.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.2702, allocations: 47.91 kB / 488.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.2706, allocations: 377.8 kB / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2707, allocations: 75.78 kB / 489.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2708, allocations: 4.062 kB / 489.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2708, allocations: 38.56 kB / 489.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2708, allocations: 7.938 kB / 489.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003262/0.2711, allocations: 113.5 kB / 489.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.2712, allocations: 107.2 kB / 489.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2713, allocations: 136.9 kB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2713, allocations: 29.7 kB / 489.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.2714, allocations: 88.14 kB / 489.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.2714, allocations: 0 / 489.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.2714, allocations: 0 / 489.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2715, allocations: 322.8 kB / 490.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.2716, allocations: 27.98 kB / 490.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.2716, allocations: 43.34 kB / 490.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.775e-05/0.2717, allocations: 27.98 kB / 490.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2717, allocations: 0 / 490.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002235/0.272, allocations: 93.5 kB / 490.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.272, allocations: 4 kB / 490.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.272, allocations: 4.125 kB / 490.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.272, allocations: 4 kB / 490.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.2721, allocations: 8 kB / 490.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2721, allocations: 11.92 kB / 490.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.2722, allocations: 7.938 kB / 490.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.2722, allocations: 4 kB / 490.4 MB, free: 9.422 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 8.267e-05/0.2723, allocations: 132.5 kB / 490.6 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.2724, allocations: 49.59 kB / 490.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2724, allocations: 11.88 kB / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2724, allocations: 0 / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2724, allocations: 0 / 490.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2724, allocations: 4 kB / 490.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.2726, allocations: 181.6 kB / 490.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2726, allocations: 0 / 490.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.2727, allocations: 12 kB / 490.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2727, allocations: 3.969 kB / 490.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2727, allocations: 4 kB / 490.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2727, allocations: 4 kB / 490.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2728, allocations: 3.984 kB / 490.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.273, allocations: 291 kB / 491.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.2731, allocations: 93 kB / 491.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2731, allocations: 3.938 kB / 491.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.2732, allocations: 8 kB / 491.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.2732, allocations: 3.984 kB / 491.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2733, allocations: 8 kB / 491.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.2733, allocations: 111.2 kB / 491.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2733, allocations: 0 / 491.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.2736, allocations: 12 kB / 491.3 MB, free: 8.387 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0005094/0.2741, allocations: 0.9696 MB / 492.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.2743, allocations: 59.91 kB / 492.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2743, allocations: 0 / 492.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.2744, allocations: 19.92 kB / 492.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2746, allocations: 24.39 kB / 492.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.2756, allocations: 0.9971 MB / 493.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2759, allocations: 0.6965 MB / 494.1 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.2759, allocations: 8.172 kB / 494.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.276, allocations: 15.5 kB / 494.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.276, allocations: 0 / 494.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.2875, allocations: 1.438 MB / 495.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.2877, allocations: 220.7 kB / 495.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/1.703, allocations: 3.938 kB / 495.8 MB, free: 3.961 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat