Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.000963/0.0009631, allocations: 175.6 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.312/1.312, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.0008948/0.0008947, allocations: 93.78 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.327e-05, allocations: 0 / 343.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08858, allocations: 50.42 MB / 394.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.3815, allocations: 80.06 MB / 474.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.3818, allocations: 67.97 kB / 474.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03257/0.4143, allocations: 13.37 MB / 487.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4144, allocations: 0 / 487.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.357e-05/0.4144, allocations: 24 kB / 487.9 MB, free: 9.875 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001475/0.4159, allocations: 1.002 MB / 488.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.4159, allocations: 8.031 kB / 488.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.4161, allocations: 147.9 kB / 489 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4162, allocations: 98.88 kB / 489.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.4167, allocations: 442.9 kB / 489.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.4168, allocations: 78 kB / 489.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4169, allocations: 92 kB / 489.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4182, allocations: 0.8286 MB / 490.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4183, allocations: 0 / 490.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.4184, allocations: 43.94 kB / 490.6 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4184, allocations: 24 kB / 490.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.4193, allocations: 0.5467 MB / 491.2 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.4234, allocations: 2.999 MB / 494.2 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.4238, allocations: 286.5 kB / 494.4 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.4241, allocations: 260.8 kB / 494.7 MB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4241, allocations: 4 kB / 494.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4242, allocations: 43.25 kB / 494.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.4242, allocations: 0 / 494.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.000709/0.4249, allocations: 397 kB / 495.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.425, allocations: 55.41 kB / 495.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.4254, allocations: 448.5 kB / 495.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.4255, allocations: 33.7 kB / 495.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.4258, allocations: 493.4 kB / 496.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4259, allocations: 149.9 kB / 496.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.4259, allocations: 16 kB / 496.3 MB, free: 1.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4261, allocations: 374.7 kB / 496.7 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.4263, allocations: 157.6 kB / 496.8 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.4267, allocations: 435.5 kB / 497.2 MB, free: 60 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.4271, allocations: 231.2 kB / 497.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4271, allocations: 4 kB / 497.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001064/0.4282, allocations: 0.7331 MB / 498.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4282, allocations: 8.719 kB / 498.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4282, allocations: 12 kB / 498.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.4285, allocations: 84.81 kB / 498.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/0.4291, allocations: 195.7 kB / 498.5 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4308, allocations: 1.807 MB / 0.4886 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.4313, allocations: 87.03 kB / 0.4887 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.4314, allocations: 39.95 kB / 0.4887 GB, free: 12.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0001243/0.4315, allocations: 152.7 kB / 0.4888 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.4316, allocations: 59.34 kB / 0.4889 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.4317, allocations: 69.34 kB / 0.489 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4317, allocations: 4 kB / 0.489 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4317, allocations: 0 / 0.489 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4318, allocations: 7.984 kB / 0.489 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.4325, allocations: 0.6414 MB / 0.4896 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4325, allocations: 0 / 0.4896 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.4329, allocations: 103.9 kB / 0.4897 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000202/0.4331, allocations: 68.75 kB / 0.4898 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4332, allocations: 12 kB / 0.4898 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.4348, allocations: 1.772 MB / 0.4915 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4348, allocations: 7.875 kB / 0.4915 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.4357, allocations: 0.6376 MB / 0.4921 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4359, allocations: 144.3 kB / 0.4923 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.4359, allocations: 4.125 kB / 0.4923 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.4363, allocations: 59.97 kB / 0.4923 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.4364, allocations: 31.94 kB / 0.4924 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.4364, allocations: 12 kB / 0.4924 GB, free: 8.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003352/0.4368, allocations: 345.5 kB / 0.4927 GB, free: 8.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4368, allocations: 4 kB / 0.4927 GB, free: 8.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006628/0.4374, allocations: 243.2 kB / 0.493 GB, free: 8.137 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.001112/0.4386, allocations: 1.194 MB / 0.4941 GB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.4394, allocations: 0.5581 MB / 0.4947 GB, free: 6.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4394, allocations: 4.188 kB / 0.4947 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.4398, allocations: 318.4 kB / 0.495 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.4403, allocations: 106 kB / 0.4951 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4422, allocations: 1.2 MB / 0.4962 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.4427, allocations: 0.9496 MB / 0.4972 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.443, allocations: 69.22 kB / 0.4972 GB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.4433, allocations: 267.3 kB / 0.4975 GB, free: 3.352 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4433, allocations: 0 / 0.4975 GB, free: 3.352 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.4685, allocations: 11.84 MB / 0.5091 GB, free: 7.688 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/0.4687, allocations: 177.2 kB / 0.5092 GB, free: 7.461 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.587, allocations: 3.938 kB / 0.5092 GB, free: 7.457 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat