Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 82.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.256e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 47.57 MB / 369.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5369, allocations: 77.05 MB / 446.2 MB, free: 116 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/0.5374, allocations: 73.83 kB / 446.3 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03505/0.5725, allocations: 4.684 MB / 451 MB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.557e-06/0.5725, allocations: 3.984 kB / 451 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.969e-05/0.5726, allocations: 7.938 kB / 451 MB, free: 12.09 MB / 330.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.001557/0.5742, allocations: 0.5201 MB / 451.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.5743, allocations: 8.031 kB / 451.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.5744, allocations: 73.03 kB / 451.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.5746, allocations: 31.62 kB / 451.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.5752, allocations: 246.1 kB / 451.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.5753, allocations: 22.75 kB / 451.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.5754, allocations: 29.94 kB / 451.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.5764, allocations: 239.1 kB / 452.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5764, allocations: 0 / 452.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.5765, allocations: 11.31 kB / 452.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.5766, allocations: 8 kB / 452.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.5773, allocations: 170.9 kB / 452.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.5805, allocations: 1.022 MB / 453.4 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.5814, allocations: 318.4 kB / 453.7 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.5823, allocations: 190.8 kB / 453.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.5823, allocations: 4.188 kB / 453.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.5824, allocations: 34.73 kB / 453.9 MB, free: 9.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 5.821e-06/0.5824, allocations: 0 / 453.9 MB, free: 9.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.002848/0.5853, allocations: 0.7056 MB / 454.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5854, allocations: 59.28 kB / 454.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.5858, allocations: 165 kB / 454.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.5859, allocations: 29.39 kB / 454.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.5861, allocations: 233.9 kB / 455.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.5863, allocations: 97.89 kB / 455.2 MB, free: 8.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.5863, allocations: 7.125 kB / 455.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5865, allocations: 322.8 kB / 455.5 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.5868, allocations: 63.38 kB / 455.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.5872, allocations: 92.27 kB / 455.6 MB, free: 7.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.5875, allocations: 74.27 kB / 455.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5875, allocations: 0 / 455.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001255/0.5888, allocations: 310.3 kB / 456 MB, free: 7.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.5889, allocations: 4 kB / 456 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5889, allocations: 0 / 456 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.5896, allocations: 80.17 kB / 456.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.5902, allocations: 51.91 kB / 456.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.5938, allocations: 1.88 MB / 458 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.5941, allocations: 7.875 kB / 458 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.5941, allocations: 11.56 kB / 458 MB, free: 5.688 MB / 330.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 (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.0001375/0.5943, allocations: 124.7 kB / 458.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.5943, allocations: 19.81 kB / 458.2 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.5944, allocations: 24.95 kB / 458.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5944, allocations: 4 kB / 458.2 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5945, allocations: 4 kB / 458.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5945, allocations: 0 / 458.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.5962, allocations: 0.7356 MB / 459 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5962, allocations: 0 / 459 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.5966, allocations: 39.92 kB / 459 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003585/0.597, allocations: 72.72 kB / 459.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.597, allocations: 11.98 kB / 459.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/0.6011, allocations: 1.78 MB / 460.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6012, allocations: 0 / 460.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.6028, allocations: 439.9 kB / 461.3 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.603, allocations: 104.8 kB / 461.4 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.6031, allocations: 4.188 kB / 461.4 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.6036, allocations: 20 kB / 461.4 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.6038, allocations: 23.97 kB / 461.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.6038, allocations: 7.984 kB / 461.4 MB, free: 2.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003415/0.6042, allocations: 144.3 kB / 461.6 MB, free: 2.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6042, allocations: 0 / 461.6 MB, free: 2.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009861/0.6052, allocations: 76 kB / 461.7 MB, free: 1.938 MB / 330.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 () * 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.002176/0.6074, allocations: 0.9792 MB / 462.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.609, allocations: 350.5 kB / 463 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6091, allocations: 0 / 463 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.6098, allocations: 250.3 kB / 463.2 MB, free: 324 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.6103, allocations: 40.17 kB / 463.3 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.6123, allocations: 0.7255 MB / 464 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.6128, allocations: 0.7713 MB / 464.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.613, allocations: 84.28 kB / 464.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.613, allocations: 0 / 464.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.419, allocations: 5.09 MB / 469.9 MB, free: 9.539 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat