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.00193/0.00193, 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.454/1.454, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.0009054/0.0009053, allocations: 87.59 kB / 281.2 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.852e-05, allocations: 4 kB / 337.1 MB, free: 9.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09682, allocations: 50.42 MB / 387.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/0.3831, allocations: 79.39 MB / 467 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3834, allocations: 71.95 kB / 467 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04622/0.4296, allocations: 13.23 MB / 480.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4297, allocations: 0 / 480.3 MB, free: 1.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.915e-05/0.4297, allocations: 23.98 kB / 480.3 MB, free: 1.961 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.002265/0.432, allocations: 1.006 MB / 481.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.4321, allocations: 8.031 kB / 481.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.4323, allocations: 102.9 kB / 481.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.4331, allocations: 435 kB / 481.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.4332, allocations: 31.95 kB / 481.9 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.4333, allocations: 63.98 kB / 481.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/0.4346, allocations: 488 kB / 482.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.4363, allocations: 0.6996 MB / 483.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.4364, allocations: 4 kB / 483.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.4365, allocations: 3.938 kB / 483.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.4365, allocations: 24 kB / 483.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005961/0.4425, allocations: 2.84 MB / 486 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.4431, allocations: 266.5 kB / 486.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.4435, allocations: 248.8 kB / 486.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.4436, allocations: 8 kB / 486.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4436, allocations: 38.56 kB / 486.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.036e-06/0.4436, allocations: 0 / 486.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001005/0.4446, allocations: 357.9 kB / 486.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4447, allocations: 55.41 kB / 486.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.4454, allocations: 413 kB / 487.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.4454, allocations: 26.27 kB / 487.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.4458, allocations: 489.4 kB / 487.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.446, allocations: 149.8 kB / 488 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.446, allocations: 4 kB / 488 MB, free: 9.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4462, allocations: 358.8 kB / 488.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.4466, allocations: 141.6 kB / 488.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.4472, allocations: 417.9 kB / 488.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.4477, allocations: 210 kB / 489.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.4477, allocations: 7.938 kB / 489.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001582/0.4493, allocations: 0.6397 MB / 489.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4494, allocations: 11.95 kB / 489.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.4494, allocations: 8.656 kB / 489.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.4498, allocations: 84.81 kB / 489.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4509, allocations: 199.7 kB / 490 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.4535, allocations: 1.755 MB / 491.8 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.4544, allocations: 67.06 kB / 491.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.4545, allocations: 32 kB / 491.9 MB, free: 5.82 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 () * 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.0002263/0.4547, allocations: 133 kB / 492 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009576/0.4557, allocations: 369 kB / 492.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4559, allocations: 55.34 kB / 492.4 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.456, allocations: 57.28 kB / 492.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4561, allocations: 4 kB / 492.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4561, allocations: 4 kB / 492.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4561, allocations: 0 / 492.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.4571, allocations: 0.5329 MB / 493 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4571, allocations: 0 / 493 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/0.4578, allocations: 103.9 kB / 493.1 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.4581, allocations: 72.73 kB / 493.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.4582, allocations: 4 kB / 493.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.4606, allocations: 1.732 MB / 494.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4606, allocations: 7.875 kB / 494.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4618, allocations: 0.5946 MB / 495.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4621, allocations: 132.5 kB / 495.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.4622, allocations: 3.984 kB / 495.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.4628, allocations: 44.03 kB / 495.7 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4629, allocations: 23.97 kB / 495.7 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.4629, allocations: 23.98 kB / 495.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004612/0.4634, allocations: 287 kB / 496 MB, free: 1.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4634, allocations: 0 / 496 MB, free: 1.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001273/0.4647, allocations: 227.1 kB / 496.2 MB, free: 1.238 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 () * 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.001682/0.4664, allocations: 1.147 MB / 497.4 MB, free: 60 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.4677, allocations: 0.5219 MB / 497.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4677, allocations: 4.062 kB / 497.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.4683, allocations: 293.3 kB / 498.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.469, allocations: 82.27 kB / 498.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.4729, allocations: 1.174 MB / 499.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.4736, allocations: 0.9413 MB / 0.4887 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.4741, allocations: 64.94 kB / 0.4887 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.4746, allocations: 263.3 kB / 0.489 GB, free: 12.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4746, allocations: 0 / 0.489 GB, free: 12.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.5138, allocations: 10.46 MB / 0.4992 GB, free: 2.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.5141, allocations: 142.8 kB / 0.4993 GB, free: 2.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.659, allocations: 0 / 0.4993 GB, free: 2.039 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