Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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 3.2.3+maint.om/package.mo", uses=false) 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 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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001357/0.001363, allocations: 101.7 kB / 17.58 MB, free: 5.562 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.001398/0.001398, allocations: 191.9 kB / 18.51 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 52.61 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1031, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004402/0.1076, allocations: 2.769 MB / 330.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.109, allocations: 0.6513 MB / 330.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1093, allocations: 4 kB / 330.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1096, allocations: 47.56 kB / 330.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.1099, allocations: 99.11 kB / 330.9 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1102, allocations: 71.91 kB / 331 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.1106, allocations: 350.9 kB / 331.4 MB, free: 368 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.1109, allocations: 143.1 kB / 331.5 MB, free: 228 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1111, allocations: 123.6 kB / 331.6 MB, free: 104 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1114, allocations: 155.3 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.1115, allocations: 28 kB / 331.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.1115, allocations: 36 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1116, allocations: 71.75 kB / 331.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.1118, allocations: 155.3 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.1122, allocations: 363 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.1122, allocations: 0 / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1122, allocations: 0 / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1123, allocations: 0 / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.000988/0.1133, allocations: 0.6003 MB / 333 MB, free: 14.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1133, allocations: 8.031 kB / 333 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.874e-05/0.1134, allocations: 62.73 kB / 333.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.1135, allocations: 32.56 kB / 333.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1138, allocations: 251.9 kB / 333.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1139, allocations: 24.94 kB / 333.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.1139, allocations: 32.31 kB / 333.4 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.1144, allocations: 253 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1144, allocations: 0 / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.1145, allocations: 12 kB / 333.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1145, allocations: 4 kB / 333.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.1148, allocations: 186.2 kB / 333.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1165, allocations: 1.017 MB / 334.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.1169, allocations: 336.8 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.1171, allocations: 140.8 kB / 335.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1171, allocations: 4 kB / 335.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1172, allocations: 34.56 kB / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.905e-06/0.1172, allocations: 0 / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001461/0.1186, allocations: 0.7768 MB / 336.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1187, allocations: 51.41 kB / 336.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1189, allocations: 194.2 kB / 336.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1189, allocations: 29.7 kB / 336.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.119, allocations: 164.3 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.1191, allocations: 102.6 kB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.1192, allocations: 49.98 kB / 336.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1193, allocations: 330.8 kB / 337.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1194, allocations: 72.53 kB / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1196, allocations: 106.7 kB / 337.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.1199, allocations: 177.7 kB / 337.4 MB, free: 9.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1199, allocations: 4 kB / 337.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005159/0.1204, allocations: 314 kB / 337.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1205, allocations: 8 kB / 337.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1205, allocations: 0 / 337.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.1208, allocations: 92.77 kB / 337.8 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.121, allocations: 47.92 kB / 337.9 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.123, allocations: 2.096 MB / 340 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1232, allocations: 7.938 kB / 340 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1232, allocations: 8.031 kB / 340 MB, free: 7.238 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.1234, allocations: 142 kB / 340.1 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.1234, allocations: 15.81 kB / 340.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.1235, allocations: 33.86 kB / 340.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1235, allocations: 4.062 kB / 340.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1235, allocations: 8 kB / 340.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1235, allocations: 3.938 kB / 340.2 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1246, allocations: 0.7447 MB / 340.9 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1247, allocations: 0 / 340.9 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.1248, allocations: 39.98 kB / 341 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.1251, allocations: 72.73 kB / 341 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1251, allocations: 11.97 kB / 341 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.1269, allocations: 1.983 MB / 343 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1269, allocations: 0 / 343 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.1276, allocations: 467.8 kB / 343.5 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1277, allocations: 96.89 kB / 343.6 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.1277, allocations: 4 kB / 343.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1279, allocations: 11.98 kB / 343.6 MB, free: 3.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.128, allocations: 24.08 kB / 343.6 MB, free: 3.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.128, allocations: 7.938 kB / 343.6 MB, free: 3.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1281, allocations: 144.3 kB / 343.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1281, allocations: 4 kB / 343.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000433/0.1286, allocations: 80 kB / 343.8 MB, free: 3.117 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000915/0.1295, allocations: 1.002 MB / 344.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.1302, allocations: 374.4 kB / 345.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1302, allocations: 0 / 345.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.1307, allocations: 254.6 kB / 345.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1311, allocations: 48.42 kB / 345.5 MB, free: 1.398 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.1347, allocations: 2.838 MB / 348.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.135, allocations: 0.7675 MB / 349.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.977e-05/0.1351, allocations: 22.22 kB / 349.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.1352, allocations: 83.41 kB / 349.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1352, allocations: 4 kB / 349.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.167, allocations: 5.667 MB / 354.9 MB, free: 7.836 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.858/10.02, allocations: 11.69 kB / 354.9 MB, free: 7.824 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches