Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001455/0.00146, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.00106/0.00106, allocations: 97.28 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.374e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4626, allocations: 76.23 MB / 463.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4629, allocations: 77.77 kB / 463.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004937/0.4679, allocations: 1.745 MB / 465.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4679, allocations: 0 / 465.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4679, allocations: 4 kB / 465.6 MB, free: 0.6719 MB / 330.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.0003596/0.4683, allocations: 363.2 kB / 466 MB, free: 280 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4683, allocations: 12.03 kB / 466 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.4684, allocations: 19.77 kB / 466 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4686, allocations: 201.4 kB / 466.2 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.4686, allocations: 0 / 466.2 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4686, allocations: 4 kB / 466.2 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/0.4687, allocations: 28.06 kB / 466.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.4689, allocations: 109.9 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4689, allocations: 4 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4689, allocations: 3.953 kB / 466.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.469, allocations: 4 kB / 466.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.4694, allocations: 358.4 kB / 466.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.4695, allocations: 63.78 kB / 466.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.4695, allocations: 26.64 kB / 466.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4695, allocations: 0 / 466.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4696, allocations: 46.55 kB / 466.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4696, allocations: 0 / 466.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001845/0.4698, allocations: 65.48 kB / 466.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4698, allocations: 111.9 kB / 467 MB, free: 15.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.47, allocations: 129.4 kB / 467.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.4701, allocations: 25.7 kB / 467.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.4701, allocations: 100.1 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.4701, allocations: 3.984 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.4701, allocations: 0 / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4703, allocations: 318.8 kB / 467.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.4703, allocations: 7.938 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.4703, allocations: 31.42 kB / 467.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.4704, allocations: 19.98 kB / 467.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4704, allocations: 0 / 467.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.4705, allocations: 69.53 kB / 467.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4705, allocations: 9.031 kB / 467.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4705, allocations: 3.938 kB / 467.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4705, allocations: 4 kB / 467.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.4706, allocations: 12.11 kB / 467.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4707, allocations: 11.95 kB / 467.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.4707, allocations: 4 kB / 467.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4707, allocations: 4 kB / 467.7 MB, free: 14.28 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: 0 () * 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 6.648e-05/0.4708, allocations: 110.8 kB / 467.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001303/0.4709, allocations: 73.44 kB / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.471, allocations: 7.906 kB / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.471, allocations: 24 kB / 468 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.471, allocations: 4 kB / 468 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4711, allocations: 0 / 468 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.4711, allocations: 0 / 468 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.4713, allocations: 158.1 kB / 468.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4713, allocations: 0 / 468.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.4713, allocations: 15.98 kB / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4714, allocations: 0 / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4714, allocations: 8 kB / 468.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4714, allocations: 0 / 468.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4714, allocations: 7.953 kB / 468.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.4716, allocations: 271 kB / 468.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.4716, allocations: 93 kB / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4717, allocations: 3.953 kB / 468.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.4718, allocations: 13.2 kB / 468.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.4718, allocations: 4 kB / 468.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4718, allocations: 0 / 468.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.4719, allocations: 115.9 kB / 468.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4719, allocations: 0 / 468.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.4722, allocations: 8 kB / 468.6 MB, free: 13.29 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: 0 () * 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.0004366/0.4726, allocations: 0.9395 MB / 469.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.4727, allocations: 27.98 kB / 469.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4727, allocations: 256 / 469.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.4728, allocations: 19.92 kB / 469.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4731, allocations: 24 kB / 469.7 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.4735, allocations: 168 kB / 469.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4738, allocations: 0.7002 MB / 470.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.4738, allocations: 12.39 kB / 470.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.4739, allocations: 19.44 kB / 470.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4739, allocations: 3.938 kB / 470.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.4911, allocations: 1.259 MB / 471.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.4914, allocations: 177.6 kB / 472 MB, free: 9.816 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/1.961, allocations: 1.562 kB / 472 MB, free: 9.816 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat