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.001165/0.001165, allocations: 198.8 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.457/1.457, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008364/0.0008364, allocations: 99.34 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.087e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4806, allocations: 76.45 MB / 471.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4809, allocations: 78.56 kB / 471.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002874/0.4838, allocations: 1.21 MB / 473 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4838, allocations: 0 / 473 MB, free: 13.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4838, allocations: 4 kB / 473 MB, free: 13.8 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.0003155/0.4841, allocations: 354.5 kB / 473.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4842, allocations: 12.03 kB / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.4842, allocations: 8.688 kB / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.4844, allocations: 189.8 kB / 473.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4845, allocations: 4.859 kB / 473.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4845, allocations: 0 / 473.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.606e-05/0.4846, allocations: 24.38 kB / 473.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.4848, allocations: 112.5 kB / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4848, allocations: 0 / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4848, allocations: 1.188 kB / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4848, allocations: 0 / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.4852, allocations: 339.4 kB / 474 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.146e-05/0.4852, allocations: 62.62 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.4853, allocations: 30.52 kB / 474.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4853, allocations: 6.203 kB / 474.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.4853, allocations: 38.55 kB / 474.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4853, allocations: 0 / 474.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001895/0.4855, allocations: 66.34 kB / 474.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4856, allocations: 102.9 kB / 474.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.4857, allocations: 130 kB / 474.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.4857, allocations: 25.7 kB / 474.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.4857, allocations: 88.25 kB / 474.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/0.4858, allocations: 4.562 kB / 474.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.4858, allocations: 2.344 kB / 474.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.4858, allocations: 312.2 kB / 474.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.4858, allocations: 8.734 kB / 474.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.4859, allocations: 36.03 kB / 474.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.4859, allocations: 10.23 kB / 474.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4859, allocations: 0 / 474.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.503e-05/0.486, allocations: 69.48 kB / 475 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.486, allocations: 5.562 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.486, allocations: 8.125 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4861, allocations: 1.312 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.4861, allocations: 3.938 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4861, allocations: 4 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.4861, allocations: 7.797 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4861, allocations: 0 / 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[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.645e-05/0.4862, allocations: 106.7 kB / 475.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001031/0.4863, allocations: 69.23 kB / 475.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4864, allocations: 13.06 kB / 475.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.4864, allocations: 12.62 kB / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4864, allocations: 3.938 kB / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4864, allocations: 4 kB / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4864, allocations: 0 / 475.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4866, allocations: 145.9 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4866, allocations: 4 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.4866, allocations: 1.547 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4866, allocations: 3.953 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4867, allocations: 4.812 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4867, allocations: 4 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4867, allocations: 0 / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.4868, allocations: 263.4 kB / 475.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.4869, allocations: 97.22 kB / 475.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.4869, allocations: 1.312 kB / 475.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.487, allocations: 6.75 kB / 475.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.487, allocations: 2.625 kB / 475.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.4871, allocations: 10.53 kB / 475.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.57e-05/0.4871, allocations: 103.7 kB / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4871, allocations: 0 / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.4874, allocations: 8 kB / 475.9 MB, free: 10.81 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0003003/0.4877, allocations: 0.9298 MB / 476.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.75e-05/0.4878, allocations: 27.94 kB / 476.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4878, allocations: 0 / 476.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.4878, allocations: 12.12 kB / 476.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4881, allocations: 30.66 kB / 476.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.4885, allocations: 150 kB / 477 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.4886, allocations: 0.6955 MB / 477.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.4887, allocations: 11.19 kB / 477.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4887, allocations: 15.45 kB / 477.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4887, allocations: 0 / 477.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.5087, allocations: 1.088 MB / 478.8 MB, free: 8.316 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.5089, allocations: 172.7 kB / 479 MB, free: 8.129 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.013, allocations: 0 / 479 MB, free: 8.129 MB / 346.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