Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0009043/0.0009042, allocations: 94.91 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002885, allocations: 7.938 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3083, allocations: 50.39 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09849/0.4068, allocations: 76.4 MB / 478 MB, free: 4.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4071, allocations: 79.94 kB / 478.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003231/0.4103, allocations: 1.338 MB / 479.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4103, allocations: 4 kB / 479.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.4104, allocations: 0 / 479.4 MB, free: 2.664 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.0003703/0.4107, allocations: 384.9 kB / 479.8 MB, free: 2.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.4108, allocations: 8.031 kB / 479.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.4108, allocations: 30.56 kB / 479.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.4109, allocations: 11.86 kB / 479.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.411, allocations: 193.5 kB / 480 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4111, allocations: 7.938 kB / 480 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.4111, allocations: 4 kB / 480 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4113, allocations: 129.9 kB / 480.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.4114, allocations: 0 / 480.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4114, allocations: 3.953 kB / 480.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.4114, allocations: 0 / 480.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4115, allocations: 47.91 kB / 480.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.412, allocations: 374 kB / 480.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.4121, allocations: 71.78 kB / 480.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4122, allocations: 20 kB / 480.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.4122, allocations: 38.44 kB / 480.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4122, allocations: 0 / 480.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003267/0.4125, allocations: 117.7 kB / 480.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.4126, allocations: 106.8 kB / 480.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4127, allocations: 133 kB / 481 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4127, allocations: 25.7 kB / 481.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.4128, allocations: 92.05 kB / 481.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.4128, allocations: 4 kB / 481.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.4128, allocations: 4.188 kB / 481.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.413, allocations: 314.8 kB / 481.5 MB, free: 332 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.4131, allocations: 23.98 kB / 481.5 MB, free: 308 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.68e-05/0.4131, allocations: 43.36 kB / 481.5 MB, free: 252 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/0.4132, allocations: 23.98 kB / 481.6 MB, free: 228 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4132, allocations: 3.938 kB / 481.6 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001772/0.4134, allocations: 101.5 kB / 481.7 MB, free: 116 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4134, allocations: 4 kB / 481.7 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.4134, allocations: 0 / 481.7 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4134, allocations: 4 kB / 481.7 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.4135, allocations: 11.98 kB / 481.7 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.4136, allocations: 7.938 kB / 481.7 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.4136, allocations: 8.125 kB / 481.7 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4136, allocations: 4 kB / 481.7 MB, free: 76 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 0.0001113/0.4137, allocations: 125.8 kB / 481.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.4138, allocations: 53.55 kB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.4139, allocations: 15.81 kB / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4139, allocations: 0 / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4139, allocations: 0 / 481.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4139, allocations: 4 kB / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.4141, allocations: 181.7 kB / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4141, allocations: 0 / 482.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.4142, allocations: 15.94 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4142, allocations: 0 / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4143, allocations: 3.953 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4143, allocations: 3.984 kB / 482.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4143, allocations: 4 kB / 482.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.4146, allocations: 291 kB / 482.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.4146, allocations: 97.03 kB / 482.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4147, allocations: 0 / 482.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4148, allocations: 12 kB / 482.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.4148, allocations: 3.984 kB / 482.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4148, allocations: 7.938 kB / 482.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.4149, allocations: 110.2 kB / 482.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4149, allocations: 0 / 482.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.4152, allocations: 8 kB / 482.6 MB, free: 15.04 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.0006565/0.4158, allocations: 0.9738 MB / 483.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.4161, allocations: 47.91 kB / 483.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4161, allocations: 0 / 483.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.4162, allocations: 32.17 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4164, allocations: 27.91 kB / 483.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4175, allocations: 0.9991 MB / 484.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.4177, allocations: 0.6993 MB / 485.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.64e-05/0.4178, allocations: 16.11 kB / 485.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.4178, allocations: 15.5 kB / 485.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4178, allocations: 4 kB / 485.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.4291, allocations: 1.439 MB / 486.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.4294, allocations: 212.7 kB / 487.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.965, allocations: 0 / 487.1 MB, free: 10.61 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat