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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 95.5 kB / 16.3 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 175.8 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 241.1 MB, free: 392 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 8 kB / 300.8 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 50.41 MB / 351.2 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005418/0.1377, allocations: 4.558 MB / 355.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.1406, allocations: 1.201 MB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.1411, allocations: 16 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1414, allocations: 123.1 kB / 357.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1421, allocations: 331 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1425, allocations: 163.8 kB / 357.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009007/0.1434, allocations: 0.7424 MB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.1441, allocations: 396.2 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.1445, allocations: 334.8 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.1449, allocations: 382.3 kB / 359.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.145, allocations: 52 kB / 359.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1452, allocations: 52 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1453, allocations: 159.4 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1455, allocations: 201.2 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.1462, allocations: 0.7986 MB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1462, allocations: 0 / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1463, allocations: 0 / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.1463, allocations: 0 / 360.7 MB, free: 10.41 MB / 302.1 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.002004/0.1483, allocations: 1.088 MB / 361.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.998e-05/0.1484, allocations: 20.02 kB / 361.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.1486, allocations: 140 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.1488, allocations: 106.8 kB / 362 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.1496, allocations: 434.1 kB / 362.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.771e-05/0.1497, allocations: 74 kB / 362.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1499, allocations: 95.91 kB / 362.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.1515, allocations: 0.8557 MB / 363.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1516, allocations: 7.891 kB / 363.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.1517, allocations: 36 kB / 363.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.1517, allocations: 24 kB / 363.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.1527, allocations: 0.57 MB / 364.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.1572, allocations: 2.98 MB / 367.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.1577, allocations: 303.2 kB / 367.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1577, allocations: 7.984 kB / 367.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1577, allocations: 38.56 kB / 367.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.1577, allocations: 0 / 367.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001447/0.1592, allocations: 0.652 MB / 368.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1592, allocations: 59.34 kB / 368.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.1599, allocations: 0.5064 MB / 368.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.1599, allocations: 33.7 kB / 368.7 MB, free: 2.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.1603, allocations: 489.6 kB / 369.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1604, allocations: 161.7 kB / 369.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.1604, allocations: 12 kB / 369.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1606, allocations: 370.8 kB / 369.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1609, allocations: 169.9 kB / 369.9 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.1614, allocations: 445.6 kB / 370.3 MB, free: 344 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.1618, allocations: 238 kB / 370.5 MB, free: 108 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.1618, allocations: 4 kB / 370.5 MB, free: 104 kB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.2254/0.3872, allocations: 0.7545 MB / 371.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.3873, allocations: 9.109 kB / 371.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.3874, allocations: 8.781 kB / 371.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.3879, allocations: 87.53 kB / 371.4 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.3887, allocations: 199.8 kB / 371.6 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.3907, allocations: 1.823 MB / 373.4 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.3914, allocations: 91.95 kB / 373.5 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.3915, allocations: 38.78 kB / 373.5 MB, free: 22.24 MB / 302.1 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.000428/0.3919, allocations: 205.1 kB / 373.7 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.392, allocations: 66.19 kB / 373.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3922, allocations: 62.2 kB / 373.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3922, allocations: 4.281 kB / 373.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3922, allocations: 1.438 kB / 373.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.3922, allocations: 9.938 kB / 373.9 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3935, allocations: 0.6449 MB / 374.5 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3935, allocations: 0.5312 kB / 374.5 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.394, allocations: 104.4 kB / 374.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.3943, allocations: 72.34 kB / 374.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3943, allocations: 9.031 kB / 374.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.3961, allocations: 1.811 MB / 376.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3961, allocations: 3.562 kB / 376.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.3973, allocations: 0.6567 MB / 377.2 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.3975, allocations: 135.1 kB / 377.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.3976, allocations: 15.34 kB / 377.3 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.398, allocations: 55.55 kB / 377.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3981, allocations: 32.72 kB / 377.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3982, allocations: 14.33 kB / 377.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005259/0.3987, allocations: 345.1 kB / 377.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3987, allocations: 0 / 377.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001175/0.3999, allocations: 245.8 kB / 378 MB, free: 19.72 MB / 302.1 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.001595/0.4015, allocations: 1.216 MB / 379.2 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.4032, allocations: 0.5912 MB / 379.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.4032, allocations: 1.344 kB / 379.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.4038, allocations: 319.1 kB / 380.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.4044, allocations: 108.2 kB / 380.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.4111, allocations: 9.884 MB / 390.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.4117, allocations: 0.9469 MB / 391.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.4121, allocations: 69.88 kB / 391.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4123, allocations: 269.8 kB / 391.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4123, allocations: 0 / 391.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.443, allocations: 11.77 MB / 403.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.4432, allocations: 202 kB / 403.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.607, allocations: 4 kB / 403.4 MB, free: 3.594 MB / 302.1 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