Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",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.001116/0.001117, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.263/1.263, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008977, allocations: 88.08 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 8 kB / 351.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2229, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08321/0.3061, allocations: 76.66 MB / 478.2 MB, free: 3.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.3063, allocations: 80.69 kB / 478.3 MB, free: 3.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002372/0.3087, allocations: 1.029 MB / 479.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3087, allocations: 7.938 kB / 479.4 MB, free: 2.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3087, allocations: 2.906 kB / 479.4 MB, free: 2.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002788/0.309, allocations: 347.2 kB / 479.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3091, allocations: 8.031 kB / 479.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.3091, allocations: 38.48 kB / 479.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.153e-05/0.3091, allocations: 11.86 kB / 479.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3092, allocations: 175.1 kB / 479.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.3093, allocations: 4 kB / 479.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3093, allocations: 0 / 479.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.3095, allocations: 119.2 kB / 480.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.3096, allocations: 4 kB / 480.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3096, allocations: 0 / 480.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3096, allocations: 3.953 kB / 480.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.498e-05/0.3097, allocations: 23.98 kB / 480.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.3098, allocations: 169.5 kB / 480.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.3099, allocations: 62.59 kB / 480.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.31, allocations: 4.031 kB / 480.3 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.31, allocations: 34.5 kB / 480.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.31, allocations: 0 / 480.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001874/0.3102, allocations: 81.77 kB / 480.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.3102, allocations: 51.59 kB / 480.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.3103, allocations: 108.9 kB / 480.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3103, allocations: 25.7 kB / 480.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.3103, allocations: 84.14 kB / 480.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-06/0.3103, allocations: 3.938 kB / 480.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-06/0.3103, allocations: 4 kB / 480.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.175e-05/0.3104, allocations: 318.8 kB / 481 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.3104, allocations: 7.938 kB / 481 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.3105, allocations: 31.42 kB / 481 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.559e-05/0.3105, allocations: 8 kB / 481.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3105, allocations: 0 / 481.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.992e-05/0.3106, allocations: 61.53 kB / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.3106, allocations: 4.375 kB / 481.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.3106, allocations: 0 / 481.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3106, allocations: 4 kB / 481.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-05/0.3107, allocations: 11.92 kB / 481.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3107, allocations: 3.938 kB / 481.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.3107, allocations: 4 kB / 481.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3107, allocations: 7.953 kB / 481.2 MB, free: 0.6562 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 () * Number of clocked 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.434e-05/0.3108, allocations: 110 kB / 481.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3109, allocations: 69.67 kB / 481.3 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.3109, allocations: 7.906 kB / 481.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3109, allocations: 0 / 481.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3109, allocations: 0 / 481.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3109, allocations: 0 / 481.3 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.604e-05/0.311, allocations: 165.6 kB / 481.5 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.311, allocations: 0 / 481.5 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.3111, allocations: 11.94 kB / 481.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3111, allocations: 4 kB / 481.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.3111, allocations: 0 / 481.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3111, allocations: 7.984 kB / 481.5 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3111, allocations: 0 / 481.5 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.3112, allocations: 96.97 kB / 481.6 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3113, allocations: 81.11 kB / 481.7 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3113, allocations: 4 kB / 481.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.3113, allocations: 4.047 kB / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.3114, allocations: 0 / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3114, allocations: 0 / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.5e-05/0.3114, allocations: 91.22 kB / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.372e-06/0.3114, allocations: 0 / 481.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.3116, allocations: 7.938 kB / 481.8 MB, free: 15.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0003307/0.3119, allocations: 0.6357 MB / 482.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.341e-05/0.312, allocations: 27.92 kB / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.312, allocations: 0 / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.312, allocations: 0 / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.3122, allocations: 31.16 kB / 482.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.3127, allocations: 0.8596 MB / 483.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3129, allocations: 0.6926 MB / 484 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.162e-05/0.313, allocations: 4 kB / 484 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.313, allocations: 15.38 kB / 484.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.313, allocations: 4 kB / 484.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7949/1.108, allocations: 1.102 MB / 485.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.108, allocations: 195.8 kB / 485.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.591, allocations: 0 / 485.4 MB, free: 12.33 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat