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.001065/0.001066, 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.342/1.342, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0008349/0.0008348, allocations: 78.31 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.002e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.4306, allocations: 76.9 MB / 471.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4309, allocations: 79.95 kB / 471.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004751/0.4357, allocations: 1.734 MB / 473.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4357, allocations: 3.938 kB / 473.1 MB, free: 8.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.4357, allocations: 4 kB / 473.1 MB, free: 8.777 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.0003716/0.4361, allocations: 367.2 kB / 473.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4361, allocations: 8.031 kB / 473.4 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.4362, allocations: 46.5 kB / 473.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.4362, allocations: 11.81 kB / 473.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.4364, allocations: 191.6 kB / 473.7 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.4364, allocations: 4 kB / 473.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.4365, allocations: 4 kB / 473.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.4367, allocations: 125.8 kB / 473.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4367, allocations: 0 / 473.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4367, allocations: 0 / 473.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.4367, allocations: 7.953 kB / 473.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.74e-05/0.4368, allocations: 27.92 kB / 473.8 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.4372, allocations: 378 kB / 474.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.4373, allocations: 68.94 kB / 474.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.4374, allocations: 26.7 kB / 474.3 MB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4374, allocations: 4 kB / 474.3 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4374, allocations: 46.44 kB / 474.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.437e-06/0.4374, allocations: 3.984 kB / 474.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.4376, allocations: 73.53 kB / 474.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4377, allocations: 106.8 kB / 474.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4378, allocations: 136.7 kB / 474.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4378, allocations: 25.7 kB / 474.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.4379, allocations: 100 kB / 474.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.4379, allocations: 3.938 kB / 474.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.4379, allocations: 0 / 474.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.438, allocations: 322.9 kB / 475.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.438, allocations: 11.98 kB / 475.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.4381, allocations: 31.44 kB / 475.2 MB, free: 6.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.4381, allocations: 19.92 kB / 475.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4381, allocations: 0 / 475.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.4382, allocations: 73.53 kB / 475.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.4382, allocations: 7.938 kB / 475.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4382, allocations: 3.953 kB / 475.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4383, allocations: 4 kB / 475.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.4384, allocations: 11.98 kB / 475.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4384, allocations: 4 kB / 475.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.4384, allocations: 12.11 kB / 475.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4385, allocations: 4 kB / 475.3 MB, free: 6.266 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 5.436e-05/0.4385, allocations: 105.8 kB / 475.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.4386, allocations: 53.5 kB / 475.4 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.4386, allocations: 11.66 kB / 475.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4387, allocations: 7.953 kB / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4387, allocations: 0 / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4387, allocations: 0 / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.4389, allocations: 189.6 kB / 475.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4389, allocations: 4.031 kB / 475.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.439, allocations: 11.98 kB / 475.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.439, allocations: 4 kB / 475.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.439, allocations: 0 / 475.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.439, allocations: 0 / 475.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.439, allocations: 7.953 kB / 475.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.4392, allocations: 275 kB / 475.9 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.4393, allocations: 100.9 kB / 476 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4393, allocations: 4 kB / 476.1 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.4394, allocations: 8 kB / 476.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.4394, allocations: 8 kB / 476.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4395, allocations: 3.984 kB / 476.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.957e-05/0.4395, allocations: 118.5 kB / 476.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4395, allocations: 0 / 476.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.4398, allocations: 8 kB / 476.2 MB, free: 5.258 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.0004309/0.4402, allocations: 0.9432 MB / 477.1 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.555e-05/0.4403, allocations: 31.92 kB / 477.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.4403, allocations: 0 / 477.2 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.4404, allocations: 12 kB / 477.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4406, allocations: 27.89 kB / 477.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.4411, allocations: 169.5 kB / 477.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4413, allocations: 0.7098 MB / 478.1 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.4413, allocations: 4.375 kB / 478.1 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.4414, allocations: 23.42 kB / 478.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4414, allocations: 0 / 478.1 MB, free: 3.223 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.453, allocations: 1.593 MB / 479.7 MB, free: 1.781 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.4532, allocations: 186.1 kB / 479.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.903, allocations: 0 / 479.9 MB, free: 1.555 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