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.0009904/0.0009903, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.001227/0.001227, allocations: 92.09 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.024e-05, allocations: 8 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.4077, allocations: 77.76 MB / 465.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.408, allocations: 63.97 kB / 465.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.4204, allocations: 4.866 MB / 470.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4205, allocations: 0.75 kB / 470.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4205, allocations: 4 kB / 470.3 MB, free: 11.98 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.0006473/0.4211, allocations: 0.5305 MB / 470.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4212, allocations: 8.031 kB / 470.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.4212, allocations: 31.62 kB / 470.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.4215, allocations: 246.6 kB / 471.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4216, allocations: 8 kB / 471.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.4216, allocations: 16 kB / 471.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002669/0.4219, allocations: 165 kB / 471.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.4222, allocations: 187.8 kB / 471.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.4223, allocations: 7.938 kB / 471.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.4223, allocations: 0 / 471.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4223, allocations: 8 kB / 471.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.4237, allocations: 0.9625 MB / 472.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.424, allocations: 313.3 kB / 472.7 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.4244, allocations: 173.2 kB / 472.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4244, allocations: 4.188 kB / 472.9 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4245, allocations: 38.69 kB / 472.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.4245, allocations: 0 / 472.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001143/0.4256, allocations: 0.6456 MB / 473.6 MB, free: 8.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4257, allocations: 55.41 kB / 473.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4258, allocations: 154.6 kB / 473.8 MB, free: 8.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4258, allocations: 29.64 kB / 473.8 MB, free: 8.121 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.4259, allocations: 176.1 kB / 474 MB, free: 7.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.426, allocations: 94.64 kB / 474.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.426, allocations: 0 / 474.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4261, allocations: 330.8 kB / 474.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.4262, allocations: 64.5 kB / 474.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4264, allocations: 83.67 kB / 474.5 MB, free: 7.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.4265, allocations: 71.95 kB / 474.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4265, allocations: 0 / 474.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004209/0.4269, allocations: 282 kB / 474.9 MB, free: 7.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4269, allocations: 4.938 kB / 474.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4269, allocations: 0 / 474.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.4272, allocations: 72.81 kB / 475 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.4274, allocations: 44.02 kB / 475 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.4291, allocations: 1.814 MB / 476.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.4292, allocations: 4.031 kB / 476.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.4292, allocations: 4 kB / 476.8 MB, free: 4.957 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 () * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.029e-05/0.4293, allocations: 117 kB / 476.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003944/0.4297, allocations: 242 kB / 477.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.4298, allocations: 19.81 kB / 477.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.4298, allocations: 21.97 kB / 477.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4298, allocations: 0 / 477.2 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.4298, allocations: 8 kB / 477.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4298, allocations: 3.984 kB / 477.2 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/0.4307, allocations: 0.6595 MB / 477.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4307, allocations: 0 / 477.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.4309, allocations: 47.91 kB / 477.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.4311, allocations: 64.81 kB / 478 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.4311, allocations: 4 kB / 478 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.4326, allocations: 1.718 MB / 479.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4326, allocations: 496 / 479.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.4331, allocations: 420.5 kB / 480.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.4331, allocations: 96.97 kB / 480.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.4332, allocations: 0 / 480.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.4333, allocations: 15.88 kB / 480.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.4334, allocations: 27.92 kB / 480.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4334, allocations: 8 kB / 480.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.792e-05/0.4335, allocations: 132.6 kB / 480.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4335, allocations: 0 / 480.4 MB, free: 1.156 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.4339, allocations: 68 kB / 480.5 MB, free: 1.09 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 () * 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.0007689/0.4347, allocations: 0.9532 MB / 481.4 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.4352, allocations: 321.5 kB / 481.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4352, allocations: 0 / 481.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.4356, allocations: 241.5 kB / 482 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4358, allocations: 32.08 kB / 482 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.4369, allocations: 0.6644 MB / 482.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4373, allocations: 0.7756 MB / 483.4 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.617e-05/0.4374, allocations: 14.08 kB / 483.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4375, allocations: 83.41 kB / 483.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4375, allocations: 0 / 483.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.459, allocations: 4.458 MB / 488 MB, free: 9.477 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.4592, allocations: 152.8 kB / 488.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.238, allocations: 0 / 488.1 MB, free: 9.277 MB / 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