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.00136/0.00136, allocations: 175.1 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.361/1.361, allocations: 221.3 MB / 235.5 MB, free: 2.898 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.000859/0.000859, allocations: 97.83 kB / 286.5 MB, free: 192 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.966e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/0.46, allocations: 78.43 MB / 472.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4603, allocations: 71.91 kB / 472.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.4735, allocations: 4.906 MB / 477.7 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4736, allocations: 0 / 477.7 MB, free: 4.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.4736, allocations: 8 kB / 477.7 MB, free: 4.074 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.0007389/0.4744, allocations: 0.5227 MB / 478.3 MB, free: 3.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4744, allocations: 8.031 kB / 478.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.81e-05/0.4745, allocations: 62.53 kB / 478.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/0.4746, allocations: 35.62 kB / 478.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.4749, allocations: 254.5 kB / 478.6 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4749, allocations: 20.56 kB / 478.6 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.475, allocations: 27.95 kB / 478.7 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.4754, allocations: 240.9 kB / 478.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4754, allocations: 7.938 kB / 478.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.4755, allocations: 12 kB / 478.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4755, allocations: 8 kB / 478.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.4758, allocations: 166.2 kB / 479.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.4773, allocations: 1.022 MB / 480.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.4777, allocations: 325.4 kB / 480.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.4781, allocations: 181.2 kB / 480.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4781, allocations: 192 / 480.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4781, allocations: 38.75 kB / 480.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.4781, allocations: 0 / 480.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001189/0.4793, allocations: 0.6911 MB / 481.3 MB, free: 196 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4794, allocations: 67.28 kB / 481.4 MB, free: 116 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.4796, allocations: 165.7 kB / 481.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4796, allocations: 37.7 kB / 481.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.4797, allocations: 172 kB / 481.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.4798, allocations: 98.62 kB / 481.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.4798, allocations: 4 kB / 481.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4799, allocations: 326.8 kB / 482.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.48, allocations: 68.56 kB / 482.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.4801, allocations: 90.77 kB / 482.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4803, allocations: 83.95 kB / 482.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4803, allocations: 0 / 482.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004548/0.4807, allocations: 302 kB / 482.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4808, allocations: 4 kB / 482.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4808, allocations: 0 / 482.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.481, allocations: 92.8 kB / 482.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.4812, allocations: 43.92 kB / 482.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.4831, allocations: 1.879 MB / 484.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.4833, allocations: 4 kB / 484.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.4833, allocations: 12.06 kB / 484.8 MB, free: 12.58 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 () * 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 9.118e-05/0.4834, allocations: 124.9 kB / 484.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.4834, allocations: 27.67 kB / 484.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.4835, allocations: 21.75 kB / 484.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4835, allocations: 7.938 kB / 484.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4835, allocations: 4 kB / 484.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.4835, allocations: 3.984 kB / 484.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.4845, allocations: 0.7293 MB / 485.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4845, allocations: 0 / 485.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.4847, allocations: 39.92 kB / 485.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.4849, allocations: 72.8 kB / 485.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4849, allocations: 12 kB / 485.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.4865, allocations: 1.776 MB / 487.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4865, allocations: 0 / 487.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.4871, allocations: 444.4 kB / 488 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4872, allocations: 96.86 kB / 488.1 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4872, allocations: 4.062 kB / 488.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4874, allocations: 15.98 kB / 488.1 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.4874, allocations: 27.92 kB / 488.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.4875, allocations: 8 kB / 488.2 MB, free: 8.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4876, allocations: 140.6 kB / 488.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4876, allocations: 0 / 488.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.488, allocations: 76 kB / 488.4 MB, free: 8.734 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 () * 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.0008977/0.4889, allocations: 0.9861 MB / 489.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.4895, allocations: 346.3 kB / 489.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4895, allocations: 0 / 489.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.4899, allocations: 258.4 kB / 489.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4902, allocations: 35.77 kB / 490 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4914, allocations: 0.6888 MB / 490.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4917, allocations: 0.7791 MB / 491.4 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.84e-05/0.4918, allocations: 18.06 kB / 491.5 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.492, allocations: 79.42 kB / 491.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.492, allocations: 0 / 491.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.5104, allocations: 5.11 MB / 496.6 MB, free: 496 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.5106, allocations: 192.3 kB / 496.8 MB, free: 252 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.248, allocations: 0 / 496.8 MB, free: 252 kB / 362.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