Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001538/0.001538, 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.44/1.44, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.000923/0.0009234, allocations: 92.72 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 8 kB / 351.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3397, allocations: 50.4 MB / 401.6 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4566, allocations: 78.49 MB / 480.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.457, allocations: 71.97 kB / 480.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.4702, allocations: 4.908 MB / 485 MB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4703, allocations: 0 / 485 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.4703, allocations: 4 kB / 485.1 MB, free: 12.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008284/0.4712, allocations: 0.546 MB / 485.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.4712, allocations: 12.03 kB / 485.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.4713, allocations: 62.53 kB / 485.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.4714, allocations: 35.62 kB / 485.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.4718, allocations: 254.4 kB / 486 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4718, allocations: 28.5 kB / 486 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.4719, allocations: 31.95 kB / 486 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.4724, allocations: 240.9 kB / 486.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4724, allocations: 4 kB / 486.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.4724, allocations: 8 kB / 486.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4724, allocations: 8 kB / 486.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.4728, allocations: 190.2 kB / 486.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.4744, allocations: 1.014 MB / 487.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.4748, allocations: 337.3 kB / 487.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.4748, allocations: 4.188 kB / 487.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4749, allocations: 38.75 kB / 487.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.188e-06/0.4749, allocations: 4 kB / 487.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001516/0.4764, allocations: 0.7879 MB / 488.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4765, allocations: 59.41 kB / 488.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.4767, allocations: 169.5 kB / 488.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4767, allocations: 29.7 kB / 488.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4768, allocations: 172.2 kB / 489.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.4769, allocations: 86.75 kB / 489.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.4769, allocations: 8 kB / 489.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4771, allocations: 334.8 kB / 489.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4772, allocations: 76.53 kB / 489.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.4774, allocations: 99.64 kB / 489.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4775, allocations: 80.53 kB / 489.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4775, allocations: 4 kB / 489.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005346/0.4781, allocations: 326 kB / 490 MB, free: 7.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4781, allocations: 7.125 kB / 490.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4781, allocations: 0 / 490.1 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.4784, allocations: 92.77 kB / 490.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4786, allocations: 51.91 kB / 490.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.4806, allocations: 1.917 MB / 492.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.4807, allocations: 16.09 kB / 492.1 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4808, allocations: 4 kB / 492.1 MB, free: 5.266 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.4809, allocations: 134.3 kB / 492.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.481, allocations: 23.77 kB / 492.3 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.4811, allocations: 29.86 kB / 492.3 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4811, allocations: 4 kB / 492.3 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4811, allocations: 0 / 492.3 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4811, allocations: 3.938 kB / 492.3 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4821, allocations: 0.7503 MB / 493.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4822, allocations: 4.109 kB / 493.1 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.4824, allocations: 43.91 kB / 493.1 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.4825, allocations: 76.73 kB / 493.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4826, allocations: 0 / 493.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.4843, allocations: 1.813 MB / 495 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4843, allocations: 8.047 kB / 495 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.4849, allocations: 468.3 kB / 495.5 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.485, allocations: 100.8 kB / 495.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4851, allocations: 8.062 kB / 495.6 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4852, allocations: 15.98 kB / 495.6 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.4853, allocations: 23.91 kB / 495.6 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4853, allocations: 4 kB / 495.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.4855, allocations: 153.4 kB / 495.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4855, allocations: 0 / 495.8 MB, free: 1.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.4859, allocations: 76 kB / 495.8 MB, free: 1.309 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.4869, allocations: 0.9979 MB / 496.8 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.4876, allocations: 374.4 kB / 497.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4877, allocations: 0 / 497.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.4881, allocations: 258.6 kB / 497.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4884, allocations: 38.83 kB / 497.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.4911, allocations: 1.945 MB / 499.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4915, allocations: 0.7674 MB / 0.4885 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.822e-05/0.4916, allocations: 18.3 kB / 0.4885 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.4917, allocations: 83.41 kB / 0.4886 GB, free: 12.71 MB / 378.7 MB Notification: Performance of SimCode: time 4.919e-06/0.4917, allocations: 0 / 0.4886 GB, free: 12.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.5113, allocations: 5.12 MB / 0.4936 GB, free: 7.762 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.5116, allocations: 206.1 kB / 0.4938 GB, free: 7.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.457, allocations: 3.75 kB / 0.4938 GB, free: 7.52 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat