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.001664/0.001664, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.45/1.45, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 95.19 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.4542, allocations: 80.13 MB / 481.7 MB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4545, allocations: 71.97 kB / 481.8 MB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.035/0.4896, allocations: 13.34 MB / 495.1 MB, free: 2.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.4896, allocations: 0 / 495.1 MB, free: 2.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.016e-05/0.4897, allocations: 20 kB / 495.1 MB, free: 2.855 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.002545/0.4923, allocations: 1.068 MB / 496.2 MB, free: 1.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4923, allocations: 8.031 kB / 496.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003344/0.4927, allocations: 151.9 kB / 496.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.493, allocations: 106.7 kB / 496.5 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.4938, allocations: 442.1 kB / 496.9 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.608e-05/0.4939, allocations: 69.98 kB / 497 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.4941, allocations: 95.91 kB / 497.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4957, allocations: 0.8597 MB / 497.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4957, allocations: 4 kB / 497.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.4958, allocations: 40 kB / 498 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4958, allocations: 28 kB / 498 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.497, allocations: 0.5699 MB / 498.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/0.5022, allocations: 2.996 MB / 0.4898 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.5027, allocations: 302.5 kB / 0.4901 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.5027, allocations: 4 kB / 0.4901 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.5028, allocations: 42.5 kB / 0.4901 GB, free: 11.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.965e-06/0.5028, allocations: 0 / 0.4901 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001602/0.5044, allocations: 0.6481 MB / 0.4908 GB, free: 11.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.5045, allocations: 55.41 kB / 0.4908 GB, free: 11.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.5051, allocations: 461.7 kB / 0.4913 GB, free: 10.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.5051, allocations: 33.7 kB / 0.4913 GB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.5055, allocations: 489.5 kB / 0.4918 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.5057, allocations: 161.7 kB / 0.4919 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.5057, allocations: 16 kB / 0.4919 GB, free: 9.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5059, allocations: 370.8 kB / 0.4923 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.5062, allocations: 161.9 kB / 0.4924 GB, free: 9.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.5067, allocations: 457.6 kB / 0.4929 GB, free: 8.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.5072, allocations: 242 kB / 0.4931 GB, free: 8.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.5072, allocations: 4 kB / 0.4931 GB, free: 8.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00129/0.5085, allocations: 0.749 MB / 0.4938 GB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.5085, allocations: 8 kB / 0.4938 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.5086, allocations: 12.5 kB / 0.4939 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.5089, allocations: 88.81 kB / 0.4939 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.5096, allocations: 195.7 kB / 0.4941 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.5117, allocations: 1.831 MB / 0.4959 GB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/0.5123, allocations: 90.97 kB / 0.496 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.5123, allocations: 35.98 kB / 0.496 GB, free: 5.438 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 () * Number of clocked 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.000433/0.5128, allocations: 216.1 kB / 0.4962 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5129, allocations: 59.34 kB / 0.4963 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.5131, allocations: 61.5 kB / 0.4964 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5131, allocations: 8.062 kB / 0.4964 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5131, allocations: 4 kB / 0.4964 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.5131, allocations: 3.984 kB / 0.4964 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5141, allocations: 0.6491 MB / 0.497 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5142, allocations: 0 / 0.497 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.5146, allocations: 107.9 kB / 0.4971 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.5148, allocations: 72.8 kB / 0.4972 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5149, allocations: 8 kB / 0.4972 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.5167, allocations: 1.816 MB / 0.499 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5167, allocations: 3.953 kB / 0.499 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5178, allocations: 0.6573 MB / 0.4996 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.5181, allocations: 132.4 kB / 0.4997 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-05/0.5182, allocations: 12 kB / 0.4997 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.5186, allocations: 47.97 kB / 0.4998 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.5187, allocations: 31.95 kB / 0.4998 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.5187, allocations: 16 kB / 0.4998 GB, free: 1.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004177/0.5192, allocations: 342.9 kB / 0.5002 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5192, allocations: 0 / 0.5002 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009872/0.5202, allocations: 251.2 kB / 0.5004 GB, free: 0.7344 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 () * Number of clocked 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.2959/0.8161, allocations: 1.209 MB / 0.5016 GB, free: 94.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.8178, allocations: 0.5941 MB / 0.5022 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8178, allocations: 2.125 kB / 0.5022 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.8184, allocations: 321.1 kB / 0.5025 GB, free: 94.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.8193, allocations: 106.2 kB / 0.5026 GB, free: 94.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008228/0.8275, allocations: 9.879 MB / 0.5122 GB, free: 86.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.8281, allocations: 0.9493 MB / 0.5131 GB, free: 85.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.8285, allocations: 73.98 kB / 0.5132 GB, free: 85.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.8288, allocations: 265.8 kB / 0.5135 GB, free: 85.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.8288, allocations: 0 / 0.5135 GB, free: 85.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.8581, allocations: 11.79 MB / 0.525 GB, free: 83.46 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.8584, allocations: 198.7 kB / 0.5252 GB, free: 83.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.22, allocations: 0 / 0.5252 GB, free: 83.22 MB / 378.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