Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.001009/0.001009, 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.35/1.35, allocations: 221.3 MB / 235.5 MB, free: 2.977 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.000835/0.0008354, allocations: 93.98 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.271e-05, allocations: 4 kB / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08677, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3892, allocations: 77.03 MB / 471.4 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.3896, allocations: 75.95 kB / 471.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006113/0.3957, allocations: 2.123 MB / 473.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3958, allocations: 0 / 473.6 MB, free: 8.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3958, allocations: 4 kB / 473.6 MB, free: 8.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003991/0.3962, allocations: 355.2 kB / 473.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3962, allocations: 8.031 kB / 473.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.3963, allocations: 42.45 kB / 474 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3963, allocations: 7.906 kB / 474 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3966, allocations: 194.8 kB / 474.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3966, allocations: 0 / 474.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3966, allocations: 11.94 kB / 474.2 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.3969, allocations: 110.7 kB / 474.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3969, allocations: 3.953 kB / 474.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3969, allocations: 0 / 474.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3969, allocations: 0 / 474.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.397, allocations: 15.94 kB / 474.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.3974, allocations: 282.7 kB / 474.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.3975, allocations: 63.73 kB / 474.6 MB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/0.3976, allocations: 38.64 kB / 474.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3976, allocations: 4 kB / 474.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3977, allocations: 34.5 kB / 474.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3977, allocations: 0 / 474.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000185/0.3978, allocations: 65.59 kB / 474.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.3979, allocations: 106.8 kB / 474.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3981, allocations: 128.1 kB / 475 MB, free: 6.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3981, allocations: 25.7 kB / 475 MB, free: 6.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.3982, allocations: 96.03 kB / 475.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3982, allocations: 4 kB / 475.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.3982, allocations: 3.938 kB / 475.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3983, allocations: 314.8 kB / 475.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.3983, allocations: 12 kB / 475.5 MB, free: 6.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3984, allocations: 27.42 kB / 475.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.3984, allocations: 11.94 kB / 475.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3984, allocations: 0 / 475.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.3986, allocations: 69.48 kB / 475.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.3986, allocations: 5.406 kB / 475.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3986, allocations: 0 / 475.6 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3987, allocations: 4 kB / 475.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.3987, allocations: 11.98 kB / 475.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3988, allocations: 0 / 475.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.3988, allocations: 4 kB / 475.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.3988, allocations: 4 kB / 475.6 MB, free: 5.984 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 7.279e-05/0.3989, allocations: 113 kB / 475.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.399, allocations: 57.55 kB / 475.8 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.399, allocations: 7.656 kB / 475.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.399, allocations: 4 kB / 475.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3991, allocations: 0 / 475.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3991, allocations: 0 / 475.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.3993, allocations: 177.6 kB / 475.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3993, allocations: 0 / 475.9 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.3993, allocations: 20 kB / 476 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.3994, allocations: 7.953 kB / 476 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3994, allocations: 4.031 kB / 476 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3994, allocations: 0 / 476 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3994, allocations: 3.984 kB / 476 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3996, allocations: 200.5 kB / 476.2 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3997, allocations: 93 kB / 476.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3997, allocations: 4 kB / 476.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.3998, allocations: 7.938 kB / 476.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3998, allocations: 0 / 476.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.3998, allocations: 7.984 kB / 476.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.3999, allocations: 105.5 kB / 476.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3999, allocations: 0 / 476.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.4001, allocations: 12 kB / 476.4 MB, free: 5.066 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.0005148/0.4007, allocations: 0.8588 MB / 477.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.958e-05/0.4008, allocations: 31.92 kB / 477.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4008, allocations: 0 / 477.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.4008, allocations: 7.938 kB / 477.3 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.4011, allocations: 19.98 kB / 477.3 MB, free: 4.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.4015, allocations: 142.6 kB / 477.5 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.4018, allocations: 0.7004 MB / 478.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.4018, allocations: 4.188 kB / 478.2 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.4019, allocations: 15.44 kB / 478.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4019, allocations: 0 / 478.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.4141, allocations: 1.402 MB / 479.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.4143, allocations: 174.7 kB / 479.8 MB, free: 1.684 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.898, allocations: 0 / 479.8 MB, free: 1.684 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat