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.0009029/0.0009029, 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.337/1.337, allocations: 221.5 MB / 230.3 MB, free: 7.527 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.0008772/0.0008774, allocations: 86 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.17e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4275, allocations: 75.67 MB / 463.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4278, allocations: 75.95 kB / 463.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003216/0.4311, allocations: 1.32 MB / 464.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4311, allocations: 0 / 464.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4311, allocations: 11.94 kB / 464.6 MB, free: 1.652 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.0003448/0.4315, allocations: 361 kB / 465 MB, free: 1.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4315, allocations: 12.03 kB / 465 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.4316, allocations: 11.86 kB / 465 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.4318, allocations: 190.8 kB / 465.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4318, allocations: 4 kB / 465.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4318, allocations: 4 kB / 465.2 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.38e-05/0.4319, allocations: 20 kB / 465.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4321, allocations: 105.9 kB / 465.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4321, allocations: 3.953 kB / 465.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.4321, allocations: 0 / 465.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4322, allocations: 0 / 465.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.4326, allocations: 362.3 kB / 465.7 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.4327, allocations: 63.73 kB / 465.7 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.4327, allocations: 26.7 kB / 465.8 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.4327, allocations: 3.984 kB / 465.8 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4328, allocations: 39.64 kB / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4328, allocations: 0 / 465.8 MB, free: 284 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001975/0.433, allocations: 69.59 kB / 465.9 MB, free: 208 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.433, allocations: 102.8 kB / 466 MB, free: 80 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4332, allocations: 131.5 kB / 466.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4332, allocations: 25.7 kB / 466.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.4332, allocations: 84.14 kB / 466.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.4332, allocations: 11.91 kB / 466.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.4332, allocations: 0 / 466.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.4333, allocations: 314.8 kB / 466.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.4334, allocations: 19.91 kB / 466.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.4334, allocations: 27.44 kB / 466.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.4334, allocations: 15.92 kB / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4334, allocations: 0 / 466.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.946e-05/0.4335, allocations: 61.66 kB / 466.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4335, allocations: 7.953 kB / 466.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4335, allocations: 0 / 466.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4336, allocations: 4 kB / 466.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.4337, allocations: 8 kB / 466.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4337, allocations: 7.984 kB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.4337, allocations: 4 kB / 466.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.4337, allocations: 4 kB / 466.7 MB, free: 15.32 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 6.377e-05/0.4338, allocations: 117 kB / 466.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001075/0.4339, allocations: 69.52 kB / 466.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.434, allocations: 11.86 kB / 466.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.434, allocations: 11.97 kB / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.434, allocations: 0 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.434, allocations: 96 / 466.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.434, allocations: 7.984 kB / 466.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.4342, allocations: 146.2 kB / 467.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4342, allocations: 8.094 kB / 467.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.4343, allocations: 11.98 kB / 467.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4343, allocations: 4 kB / 467.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4343, allocations: 3.953 kB / 467.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4343, allocations: 0 / 467.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4344, allocations: 4 kB / 467.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.4345, allocations: 274.9 kB / 467.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.4346, allocations: 92.94 kB / 467.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4346, allocations: 0 / 467.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.4347, allocations: 8 kB / 467.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.4348, allocations: 7.984 kB / 467.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.4348, allocations: 8 kB / 467.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.4349, allocations: 104.1 kB / 467.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4349, allocations: 0 / 467.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.4351, allocations: 4 kB / 467.6 MB, free: 14.35 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.0004632/0.4356, allocations: 0.9365 MB / 468.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.4357, allocations: 20 kB / 468.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4357, allocations: 0 / 468.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.4357, allocations: 15.92 kB / 468.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.436, allocations: 30.41 kB / 468.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.4365, allocations: 167.3 kB / 468.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4368, allocations: 0.7001 MB / 469.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.4368, allocations: 8.172 kB / 469.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.4369, allocations: 19.44 kB / 469.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4369, allocations: 0 / 469.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.4549, allocations: 1.105 MB / 470.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.4552, allocations: 175.8 kB / 470.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/1.843, allocations: 3.625 kB / 470.7 MB, free: 11.07 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