Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.000838, allocations: 98.66 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003453, allocations: 4 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2881, allocations: 50.42 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3902, allocations: 76.39 MB / 478 MB, free: 4.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3905, allocations: 75.95 kB / 478 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003073/0.3936, allocations: 1.216 MB / 479.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3936, allocations: 0 / 479.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3936, allocations: 8 kB / 479.3 MB, free: 2.758 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.0003847/0.394, allocations: 365 kB / 479.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.394, allocations: 8.031 kB / 479.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.3941, allocations: 30.56 kB / 479.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3941, allocations: 19.8 kB / 479.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3943, allocations: 187 kB / 479.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3944, allocations: 0 / 479.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.3944, allocations: 8 kB / 479.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3947, allocations: 129.7 kB / 480 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3947, allocations: 0 / 480 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3947, allocations: 0 / 480 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3947, allocations: 3.953 kB / 480 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.3948, allocations: 35.91 kB / 480 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3952, allocations: 369.9 kB / 480.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3953, allocations: 67.78 kB / 480.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3954, allocations: 0 / 480.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3954, allocations: 42.62 kB / 480.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3954, allocations: 0 / 480.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002936/0.3957, allocations: 97.45 kB / 480.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3958, allocations: 119.1 kB / 480.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3959, allocations: 127.8 kB / 480.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3959, allocations: 29.7 kB / 480.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.396, allocations: 84.14 kB / 481 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.396, allocations: 11.89 kB / 481 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.396, allocations: 0 / 481 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3961, allocations: 314.8 kB / 481.3 MB, free: 496 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.3962, allocations: 15.98 kB / 481.3 MB, free: 480 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.3962, allocations: 39.42 kB / 481.3 MB, free: 428 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.3963, allocations: 16 kB / 481.3 MB, free: 412 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3963, allocations: 0 / 481.3 MB, free: 412 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.3964, allocations: 77.55 kB / 481.4 MB, free: 328 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3965, allocations: 4 kB / 481.4 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3965, allocations: 4 kB / 481.4 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3965, allocations: 3.953 kB / 481.4 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.01e-05/0.3965, allocations: 3.984 kB / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3965, allocations: 4 kB / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.3966, allocations: 12.12 kB / 481.5 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3966, allocations: 0 / 481.5 MB, free: 296 kB / 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 () * 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 9.528e-05/0.3967, allocations: 128.7 kB / 481.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.3968, allocations: 49.55 kB / 481.6 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.3968, allocations: 15.86 kB / 481.6 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3968, allocations: 0 / 481.6 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3968, allocations: 7.953 kB / 481.7 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3968, allocations: 0 / 481.7 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3971, allocations: 177.6 kB / 481.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3971, allocations: 4 kB / 481.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-06/0.3971, allocations: 4.078 kB / 481.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3971, allocations: 7.984 kB / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3971, allocations: 0 / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3971, allocations: 0 / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3971, allocations: 0 / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3974, allocations: 282.9 kB / 482.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3974, allocations: 97 kB / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3975, allocations: 3.953 kB / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.3976, allocations: 7.984 kB / 482.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3976, allocations: 3.938 kB / 482.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.3976, allocations: 8 kB / 482.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.3977, allocations: 109.8 kB / 482.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3977, allocations: 0 / 482.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.398, allocations: 8 kB / 482.3 MB, free: 15.28 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.000535/0.3985, allocations: 0.9471 MB / 483.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.3986, allocations: 48.09 kB / 483.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3987, allocations: 0 / 483.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.3987, allocations: 15.98 kB / 483.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.399, allocations: 20.02 kB / 483.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/0.4, allocations: 0.9529 MB / 484.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4002, allocations: 0.6926 MB / 485 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.4003, allocations: 8.172 kB / 485 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.4003, allocations: 19.5 kB / 485.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4003, allocations: 0 / 485.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.4138, allocations: 1.436 MB / 486.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.4141, allocations: 217.4 kB / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.089, allocations: 0 / 486.7 MB, free: 10.95 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat