Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001522/0.001522, allocations: 175.5 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.355/1.355, allocations: 221.3 MB / 235.5 MB, free: 2.965 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.0008464/0.0008463, allocations: 88.09 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.1e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 50.41 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.4024, allocations: 76.84 MB / 471.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4026, allocations: 79.95 kB / 471.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003722/0.4063, allocations: 1.397 MB / 472.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4064, allocations: 7.938 kB / 472.7 MB, free: 9.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4064, allocations: 7.938 kB / 472.7 MB, free: 9.156 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003049/0.4067, allocations: 339.2 kB / 473 MB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4067, allocations: 12.03 kB / 473 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.4068, allocations: 42.52 kB / 473 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.4068, allocations: 7.906 kB / 473.1 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.407, allocations: 192.2 kB / 473.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.407, allocations: 4 kB / 473.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.407, allocations: 4 kB / 473.3 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.4072, allocations: 85.05 kB / 473.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4072, allocations: 7.938 kB / 473.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4073, allocations: 8 kB / 473.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4073, allocations: 3.953 kB / 473.4 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.4073, allocations: 7.938 kB / 473.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.4076, allocations: 265.8 kB / 473.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.4077, allocations: 45.16 kB / 473.7 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.4077, allocations: 15 kB / 473.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4078, allocations: 0 / 473.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.4078, allocations: 42.5 kB / 473.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4078, allocations: 0 / 473.7 MB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.4079, allocations: 49.58 kB / 473.8 MB, free: 7.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.408, allocations: 81.11 kB / 473.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4081, allocations: 126.4 kB / 474 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.4081, allocations: 25.7 kB / 474 MB, free: 7.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.4082, allocations: 84.14 kB / 474.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.4082, allocations: 4 kB / 474.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.4082, allocations: 0 / 474.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4083, allocations: 318.8 kB / 474.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.4083, allocations: 8.031 kB / 474.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.4083, allocations: 13.72 kB / 474.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.71e-05/0.4084, allocations: 4 kB / 474.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4084, allocations: 0 / 474.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.129e-05/0.4084, allocations: 53.53 kB / 474.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4085, allocations: 4 kB / 474.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4085, allocations: 8.109 kB / 474.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4085, allocations: 7.953 kB / 474.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.4086, allocations: 4 kB / 474.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4086, allocations: 0 / 474.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.4086, allocations: 4 kB / 474.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4086, allocations: 3.984 kB / 474.5 MB, free: 7.055 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.649e-05/0.4087, allocations: 108.9 kB / 474.6 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.4088, allocations: 41.55 kB / 474.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.4088, allocations: 11.69 kB / 474.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4088, allocations: 3.953 kB / 474.7 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4088, allocations: 4 kB / 474.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4088, allocations: 0 / 474.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.409, allocations: 165.7 kB / 474.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.409, allocations: 0 / 474.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.409, allocations: 11.98 kB / 474.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.409, allocations: 0 / 474.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.409, allocations: 0 / 474.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4091, allocations: 0 / 474.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4091, allocations: 7.891 kB / 474.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4092, allocations: 170 kB / 475 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.4092, allocations: 89 kB / 475.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.4093, allocations: 0 / 475.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.4093, allocations: 7.953 kB / 475.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.4094, allocations: 12.02 kB / 475.1 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.4094, allocations: 4 kB / 475.1 MB, free: 6.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.4095, allocations: 105.1 kB / 475.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4095, allocations: 0 / 475.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.4097, allocations: 4 kB / 475.2 MB, free: 6.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003411/0.41, allocations: 0.7642 MB / 476 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.4101, allocations: 12 kB / 476 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4101, allocations: 0 / 476 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.4101, allocations: 4 kB / 476 MB, free: 5.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.4103, allocations: 19.91 kB / 476 MB, free: 5.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.4107, allocations: 127.7 kB / 476.2 MB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.4109, allocations: 0.6926 MB / 476.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.4109, allocations: 11.91 kB / 476.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.411, allocations: 15.42 kB / 476.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.411, allocations: 0 / 476.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.4222, allocations: 1.199 MB / 478.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.4225, allocations: 176 kB / 478.2 MB, free: 3.188 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.834, allocations: 2.109 kB / 478.3 MB, free: 3.188 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat