Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001009/0.001009, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000853/0.0008534, allocations: 109.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 8 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1811, allocations: 51.48 MB / 409.5 MB, free: 26.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0819/0.2631, allocations: 77.19 MB / 486.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.2633, allocations: 80.47 kB / 486.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002761/0.2661, allocations: 1.221 MB / 488 MB, free: 12.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2661, allocations: 3.938 kB / 488 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.2661, allocations: 0 / 488 MB, free: 12.03 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.0003161/0.2664, allocations: 361 kB / 488.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2665, allocations: 12.03 kB / 488.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.2665, allocations: 34.56 kB / 488.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.2665, allocations: 11.81 kB / 488.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2667, allocations: 194.9 kB / 488.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2667, allocations: 3.984 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2668, allocations: 15.89 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.267, allocations: 117.9 kB / 488.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.267, allocations: 0 / 488.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.267, allocations: 0 / 488.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2671, allocations: 4 kB / 488.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.2672, allocations: 43.86 kB / 488.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.2675, allocations: 361.9 kB / 489.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.2676, allocations: 75.78 kB / 489.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2677, allocations: 0 / 489.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2677, allocations: 30.56 kB / 489.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2677, allocations: 4 kB / 489.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002639/0.268, allocations: 101.6 kB / 489.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.268, allocations: 106.8 kB / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2681, allocations: 125.2 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2682, allocations: 26.08 kB / 489.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.2682, allocations: 96.12 kB / 489.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.2682, allocations: 3.906 kB / 489.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.2682, allocations: 0 / 489.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2683, allocations: 318.8 kB / 490 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.606e-05/0.2684, allocations: 15.98 kB / 490 MB, free: 9.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.2684, allocations: 35.42 kB / 490 MB, free: 9.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.2685, allocations: 19.98 kB / 490.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2685, allocations: 0 / 490.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.2686, allocations: 85.55 kB / 490.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2687, allocations: 10.48 kB / 490.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2687, allocations: 0 / 490.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2687, allocations: 4 kB / 490.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-05/0.2687, allocations: 0 / 490.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2687, allocations: 0 / 490.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.2687, allocations: 4 kB / 490.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2688, allocations: 4 kB / 490.2 MB, free: 9.566 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 7.82e-05/0.2688, allocations: 125.9 kB / 490.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.2689, allocations: 57.48 kB / 490.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.269, allocations: 11.88 kB / 490.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.269, allocations: 0 / 490.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.269, allocations: 0 / 490.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.269, allocations: 3.938 kB / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2692, allocations: 181.6 kB / 490.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.2692, allocations: 4 kB / 490.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.2692, allocations: 0 / 490.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2692, allocations: 3.953 kB / 490.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.2693, allocations: 11.97 kB / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2693, allocations: 0 / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2693, allocations: 0 / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.2695, allocations: 286.9 kB / 490.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2696, allocations: 89 kB / 490.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2696, allocations: 3.984 kB / 490.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.2697, allocations: 8 kB / 490.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2697, allocations: 4 kB / 490.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2697, allocations: 0 / 490.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.83e-05/0.2698, allocations: 107.2 kB / 491 MB, free: 8.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2698, allocations: 0 / 491 MB, free: 8.566 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.27, allocations: 12 kB / 491.1 MB, free: 8.555 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.0004917/0.2705, allocations: 0.9607 MB / 492 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.2707, allocations: 35.92 kB / 492.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2707, allocations: 0 / 492.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.2707, allocations: 24.3 kB / 492.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.271, allocations: 26.03 kB / 492.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.2719, allocations: 0.9566 MB / 493.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2722, allocations: 0.6965 MB / 493.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.2722, allocations: 4.188 kB / 493.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2722, allocations: 19.48 kB / 493.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2722, allocations: 0 / 493.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.2839, allocations: 1.44 MB / 495.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.2841, allocations: 220.9 kB / 495.4 MB, free: 4.203 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/1.683, allocations: 4 kB / 495.4 MB, free: 4.199 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat