Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_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.0009998/0.0009999, allocations: 182 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0008008/0.0008008, allocations: 96.16 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.000256, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 47.58 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09155/0.3246, allocations: 77.14 MB / 453 MB, free: 3.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.3249, allocations: 71.95 kB / 453.1 MB, free: 3.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.3365, allocations: 4.687 MB / 457.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3366, allocations: 0 / 457.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.3366, allocations: 8 kB / 457.8 MB, free: 14.71 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007034/0.3373, allocations: 0.546 MB / 458.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3373, allocations: 8.031 kB / 458.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.746e-05/0.3374, allocations: 66.53 kB / 458.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.3375, allocations: 31.62 kB / 458.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3378, allocations: 254.4 kB / 458.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3378, allocations: 24.56 kB / 458.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3378, allocations: 31.92 kB / 458.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.3383, allocations: 248.9 kB / 459 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3383, allocations: 0 / 459 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3383, allocations: 12 kB / 459 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3383, allocations: 4 kB / 459 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.3386, allocations: 190.2 kB / 459.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3401, allocations: 1.022 MB / 460.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3404, allocations: 337.4 kB / 460.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3404, allocations: 192 / 460.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3405, allocations: 34.75 kB / 460.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 9.42e-07/0.3405, allocations: 0 / 460.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001323/0.3418, allocations: 0.7886 MB / 461.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3419, allocations: 55.39 kB / 461.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.342, allocations: 181.4 kB / 461.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3421, allocations: 29.7 kB / 461.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.3422, allocations: 176.2 kB / 461.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.3422, allocations: 90.69 kB / 461.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.3423, allocations: 4 kB / 461.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3424, allocations: 334.8 kB / 462.2 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3425, allocations: 72.53 kB / 462.3 MB, free: 9.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3427, allocations: 102.8 kB / 462.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3428, allocations: 87.97 kB / 462.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3428, allocations: 4 kB / 462.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005123/0.3433, allocations: 326 kB / 462.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3434, allocations: 4 kB / 462.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3434, allocations: 4 kB / 462.8 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.3436, allocations: 82.34 kB / 462.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3438, allocations: 43.92 kB / 462.9 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.3459, allocations: 1.928 MB / 464.9 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.346, allocations: 4 kB / 464.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.346, allocations: 12 kB / 464.9 MB, free: 7.16 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 () * 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.0001612/0.3462, allocations: 141.7 kB / 465 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3463, allocations: 23.86 kB / 465.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.3463, allocations: 29.86 kB / 465.1 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3463, allocations: 4 kB / 465.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3464, allocations: 4 kB / 465.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3464, allocations: 0 / 465.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3474, allocations: 0.7528 MB / 465.8 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3474, allocations: 4 kB / 465.8 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.3476, allocations: 35.97 kB / 465.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.3478, allocations: 72.75 kB / 466 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3478, allocations: 12.36 kB / 466 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.3495, allocations: 1.819 MB / 467.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3495, allocations: 0 / 467.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.3501, allocations: 463.9 kB / 468.2 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.3502, allocations: 96.83 kB / 468.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.3502, allocations: 8.016 kB / 468.3 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3504, allocations: 15.98 kB / 468.4 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3504, allocations: 24.2 kB / 468.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3505, allocations: 15.94 kB / 468.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3506, allocations: 144.3 kB / 468.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3506, allocations: 0 / 468.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.351, allocations: 76 kB / 468.6 MB, free: 3.195 MB / 346.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.0008992/0.3519, allocations: 0.9987 MB / 469.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.3525, allocations: 374.7 kB / 470 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3525, allocations: 0 / 470 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.3529, allocations: 258.5 kB / 470.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3532, allocations: 36 kB / 470.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.3557, allocations: 1.947 MB / 472.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.356, allocations: 0.7791 MB / 473 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.3561, allocations: 22.3 kB / 473 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3562, allocations: 83.41 kB / 473.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3562, allocations: 3.938 kB / 473.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.3723, allocations: 5.128 MB / 478.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.3726, allocations: 206 kB / 478.4 MB, free: 9.234 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.07, allocations: 4 kB / 478.4 MB, free: 9.23 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat