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.00148/0.00148, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.375/1.375, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 84.11 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.368e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09662, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.3859, allocations: 76.34 MB / 470.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.3863, allocations: 75.95 kB / 470.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003491/0.3898, allocations: 1.331 MB / 472.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3898, allocations: 0 / 472.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3898, allocations: 3.938 kB / 472.1 MB, free: 9.746 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.0003952/0.3902, allocations: 365 kB / 472.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3903, allocations: 12.03 kB / 472.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.3903, allocations: 34.55 kB / 472.5 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.3904, allocations: 11.86 kB / 472.5 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3906, allocations: 190.8 kB / 472.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3906, allocations: 4 kB / 472.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3906, allocations: 7.938 kB / 472.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.3909, allocations: 117.9 kB / 472.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3909, allocations: 0 / 472.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3909, allocations: 3.953 kB / 472.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3909, allocations: 4 kB / 472.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.391, allocations: 15.94 kB / 472.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.3915, allocations: 389.8 kB / 473.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.3916, allocations: 56.95 kB / 473.3 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.3916, allocations: 34.59 kB / 473.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3917, allocations: 4 kB / 473.3 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3917, allocations: 42.55 kB / 473.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3917, allocations: 0 / 473.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002048/0.3919, allocations: 61.53 kB / 473.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.392, allocations: 114.9 kB / 473.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3921, allocations: 132.1 kB / 473.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3922, allocations: 25.7 kB / 473.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.3922, allocations: 88.14 kB / 473.8 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.3922, allocations: 7.844 kB / 473.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.3922, allocations: 4 kB / 473.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3924, allocations: 318.8 kB / 474.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.3924, allocations: 12 kB / 474.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.3925, allocations: 31.44 kB / 474.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.3925, allocations: 11.98 kB / 474.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3925, allocations: 0 / 474.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.094e-05/0.3926, allocations: 65.58 kB / 474.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3926, allocations: 8.125 kB / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3926, allocations: 4.625 kB / 474.2 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3927, allocations: 0 / 474.2 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.3928, allocations: 19.92 kB / 474.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3928, allocations: 0 / 474.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.3928, allocations: 4 kB / 474.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3928, allocations: 4.812 kB / 474.3 MB, free: 7.301 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 9.156e-05/0.3929, allocations: 113 kB / 474.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3931, allocations: 53.55 kB / 474.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.3931, allocations: 15.64 kB / 474.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.3931, allocations: 0 / 474.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3931, allocations: 7.875 kB / 474.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3932, allocations: 4 kB / 474.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3934, allocations: 173.6 kB / 474.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3934, allocations: 4 kB / 474.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.3935, allocations: 19.98 kB / 474.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3935, allocations: 7.984 kB / 474.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3935, allocations: 0 / 474.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3935, allocations: 4 kB / 474.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3935, allocations: 0 / 474.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3938, allocations: 267 kB / 474.9 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.3939, allocations: 96.94 kB / 475 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3939, allocations: 0 / 475 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.394, allocations: 12 kB / 475 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.394, allocations: 3.984 kB / 475 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3941, allocations: 4 kB / 475 MB, free: 6.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.606e-05/0.3942, allocations: 105.5 kB / 475.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3942, allocations: 0 / 475.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.3944, allocations: 11.91 kB / 475.1 MB, free: 6.309 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.000616/0.395, allocations: 0.9433 MB / 476.1 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.3952, allocations: 24 kB / 476.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3952, allocations: 0 / 476.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.3952, allocations: 11.94 kB / 476.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3955, allocations: 23.97 kB / 476.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.396, allocations: 168.2 kB / 476.3 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3963, allocations: 0.7004 MB / 477 MB, free: 4.332 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.74e-05/0.3963, allocations: 4.188 kB / 477 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.3964, allocations: 23.36 kB / 477 MB, free: 4.305 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3964, allocations: 0 / 477 MB, free: 4.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.4079, allocations: 1.445 MB / 478.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.4081, allocations: 195.2 kB / 478.7 MB, free: 2.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.825, allocations: 0 / 478.7 MB, free: 2.793 MB / 346.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