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.001964/0.001964, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 88.67 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.01e-05, allocations: 4 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4361, allocations: 77.12 MB / 479.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.4364, allocations: 79.62 kB / 479.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002641/0.439, allocations: 1.218 MB / 480.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.439, allocations: 0.7188 kB / 480.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4391, allocations: 0 / 480.5 MB, free: 11.2 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.0002922/0.4394, allocations: 352.3 kB / 480.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4394, allocations: 8.031 kB / 480.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.4394, allocations: 34.56 kB / 480.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.4395, allocations: 7.969 kB / 480.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4397, allocations: 193.3 kB / 481.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.4397, allocations: 8.609 kB / 481.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.4397, allocations: 2.75 kB / 481.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.4399, allocations: 117.6 kB / 481.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4399, allocations: 0.7031 kB / 481.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.4399, allocations: 3.125 kB / 481.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.44, allocations: 4 kB / 481.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.44, allocations: 23.86 kB / 481.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.4403, allocations: 365.9 kB / 481.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.4404, allocations: 63.48 kB / 481.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.4404, allocations: 26.88 kB / 481.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4405, allocations: 11.98 kB / 481.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.4405, allocations: 34.5 kB / 481.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4405, allocations: 0 / 481.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001727/0.4407, allocations: 65.22 kB / 481.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4407, allocations: 106.8 kB / 481.9 MB, free: 9.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.4408, allocations: 130.7 kB / 482.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4408, allocations: 33.7 kB / 482.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.4409, allocations: 84.02 kB / 482.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.4409, allocations: 3.938 kB / 482.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.4409, allocations: 4 kB / 482.2 MB, free: 9.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.4409, allocations: 314.8 kB / 482.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.441, allocations: 7.625 kB / 482.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.441, allocations: 31.38 kB / 482.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.441, allocations: 19.86 kB / 482.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.441, allocations: 7.953 kB / 482.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.551e-05/0.4411, allocations: 65.03 kB / 482.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4411, allocations: 6.344 kB / 482.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4411, allocations: 0 / 482.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4412, allocations: 8.125 kB / 482.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.59e-05/0.4412, allocations: 0 / 482.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4412, allocations: 0 / 482.6 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.4412, allocations: 4.5 kB / 482.6 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4412, allocations: 5.406 kB / 482.7 MB, free: 8.93 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 4.481e-05/0.4413, allocations: 112.5 kB / 482.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.4414, allocations: 53.25 kB / 482.8 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.4414, allocations: 11.58 kB / 482.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4414, allocations: 8.031 kB / 482.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4414, allocations: 1.547 kB / 482.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4414, allocations: 0 / 482.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.4416, allocations: 173.5 kB / 483 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4416, allocations: 0 / 483 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.4416, allocations: 7.953 kB / 483 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4417, allocations: 3.984 kB / 483 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4417, allocations: 1.5 kB / 483 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4417, allocations: 4 kB / 483 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4417, allocations: 0 / 483 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4418, allocations: 266.9 kB / 483.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.4418, allocations: 96.94 kB / 483.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4419, allocations: 0 / 483.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.442, allocations: 7.984 kB / 483.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.442, allocations: 8.562 kB / 483.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.442, allocations: 1.594 kB / 483.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.4421, allocations: 108.1 kB / 483.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4421, allocations: 0 / 483.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.4423, allocations: 8 kB / 483.5 MB, free: 8.016 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.0002848/0.4426, allocations: 0.9425 MB / 484.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.4427, allocations: 29.09 kB / 484.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4427, allocations: 0 / 484.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.4427, allocations: 16.12 kB / 484.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.443, allocations: 34.22 kB / 484.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.4434, allocations: 151.3 kB / 484.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.4435, allocations: 0.6926 MB / 485.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.4436, allocations: 9.5 kB / 485.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.4436, allocations: 22.83 kB / 485.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4436, allocations: 0 / 485.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.4541, allocations: 1.421 MB / 486.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001235/0.4543, allocations: 179.1 kB / 487 MB, free: 4.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.431/1.885, allocations: 0.625 kB / 487 MB, free: 4.668 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