Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.001014/0.001014, allocations: 181.7 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.117 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.0009909/0.000991, allocations: 92.11 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 7.984 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2353, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08844/0.3238, allocations: 78.82 MB / 454.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.324, allocations: 67.97 kB / 454.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.3545, allocations: 12.81 MB / 467.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3546, allocations: 4 kB / 467.6 MB, free: 4.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.258e-05/0.3546, allocations: 19.94 kB / 467.6 MB, free: 4.902 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001788/0.3564, allocations: 1.072 MB / 468.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3565, allocations: 12.03 kB / 468.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.3567, allocations: 140 kB / 468.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3568, allocations: 114.7 kB / 468.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.3574, allocations: 442.2 kB / 469.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.3575, allocations: 70 kB / 469.4 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3576, allocations: 99.91 kB / 469.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3589, allocations: 0.8557 MB / 470.4 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3589, allocations: 0 / 470.4 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.359, allocations: 48 kB / 470.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.359, allocations: 20 kB / 470.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.36, allocations: 0.5738 MB / 471 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.3641, allocations: 2.992 MB / 474 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.3645, allocations: 295.8 kB / 474.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3646, allocations: 4 kB / 474.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3646, allocations: 46.55 kB / 474.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.3646, allocations: 0 / 474.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001344/0.366, allocations: 0.651 MB / 475 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.366, allocations: 63.36 kB / 475.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.3665, allocations: 457.7 kB / 475.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3666, allocations: 37.7 kB / 475.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.3669, allocations: 485.5 kB / 476 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.367, allocations: 157.8 kB / 476.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.367, allocations: 16 kB / 476.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3672, allocations: 362.8 kB / 476.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.3675, allocations: 169.9 kB / 476.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.368, allocations: 449.6 kB / 477.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.3683, allocations: 242 kB / 477.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3683, allocations: 3.938 kB / 477.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001117/0.3695, allocations: 0.7532 MB / 478.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3695, allocations: 8 kB / 478.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3695, allocations: 8 kB / 478.2 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.3698, allocations: 88.97 kB / 478.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.3704, allocations: 195.7 kB / 478.5 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.3721, allocations: 1.841 MB / 480.3 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.3725, allocations: 87.09 kB / 480.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.3725, allocations: 32 kB / 480.4 MB, free: 7.492 MB / 362.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.0002366/0.3728, allocations: 214 kB / 480.6 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.3729, allocations: 59.34 kB / 480.7 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.879e-05/0.373, allocations: 65.5 kB / 480.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.373, allocations: 7.953 kB / 480.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.373, allocations: 0 / 480.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.373, allocations: 4 kB / 480.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.3737, allocations: 0.6415 MB / 481.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3737, allocations: 0 / 481.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.3741, allocations: 103.9 kB / 481.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.3743, allocations: 72.81 kB / 481.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3743, allocations: 7.984 kB / 481.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.3758, allocations: 1.827 MB / 483.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3758, allocations: 4.031 kB / 483.4 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.3766, allocations: 0.6658 MB / 484.1 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3767, allocations: 132.4 kB / 484.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.3768, allocations: 11.95 kB / 484.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3772, allocations: 51.97 kB / 484.3 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3772, allocations: 31.73 kB / 484.3 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.3773, allocations: 12 kB / 484.3 MB, free: 3.363 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003154/0.3776, allocations: 342.9 kB / 484.6 MB, free: 3.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3776, allocations: 4 kB / 484.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006608/0.3782, allocations: 251.2 kB / 484.9 MB, free: 2.781 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,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.001098/0.3794, allocations: 1.206 MB / 486.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.3802, allocations: 0.5999 MB / 486.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3802, allocations: 1.812 kB / 486.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.3806, allocations: 314.4 kB / 487 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.3811, allocations: 114.6 kB / 487.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/0.3871, allocations: 9.878 MB / 497 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3875, allocations: 0.9457 MB / 497.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.3878, allocations: 73.2 kB / 498 MB, free: 5.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.3881, allocations: 263.4 kB / 498.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3881, allocations: 0 / 498.3 MB, free: 5.059 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/0.549, allocations: 11.79 MB / 0.4981 GB, free: 106.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.5492, allocations: 207.8 kB / 0.4983 GB, free: 106.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.595, allocations: 0 / 0.4983 GB, free: 106.3 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat