Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 47.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1064, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005119/0.1115, allocations: 2.824 MB / 420.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1128, allocations: 0.6193 MB / 421.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.1131, allocations: 4 kB / 421.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1133, allocations: 51.5 kB / 421.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1137, allocations: 91.19 kB / 421.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1139, allocations: 75.84 kB / 421.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.1145, allocations: 354.9 kB / 421.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1148, allocations: 107.3 kB / 421.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.115, allocations: 127.6 kB / 422 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1153, allocations: 163.2 kB / 422.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.1154, allocations: 28 kB / 422.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.1154, allocations: 32 kB / 422.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.1155, allocations: 67.75 kB / 422.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1157, allocations: 159.3 kB / 422.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.1161, allocations: 358.5 kB / 422.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1161, allocations: 0 / 422.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1161, allocations: 0 / 422.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1161, allocations: 4 kB / 422.8 MB, free: 7.559 MB / 350.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.001054/0.1172, allocations: 0.6 MB / 423.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1172, allocations: 12.03 kB / 423.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.952e-05/0.1173, allocations: 74.66 kB / 423.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.1174, allocations: 32.75 kB / 423.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1178, allocations: 255.9 kB / 423.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1178, allocations: 20.94 kB / 423.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.1179, allocations: 32.38 kB / 423.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.1184, allocations: 256.9 kB / 424.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1184, allocations: 0 / 424.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.1184, allocations: 12 kB / 424.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.1184, allocations: 8 kB / 424.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.1188, allocations: 186.2 kB / 424.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1204, allocations: 1.006 MB / 425.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.1208, allocations: 328.8 kB / 425.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.1211, allocations: 131.2 kB / 425.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1211, allocations: 0 / 425.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1211, allocations: 38.56 kB / 425.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.1211, allocations: 0 / 425.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001763/0.1229, allocations: 0.7743 MB / 426.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1229, allocations: 55.34 kB / 426.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1232, allocations: 190.3 kB / 426.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1232, allocations: 37.7 kB / 426.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1233, allocations: 172.5 kB / 427 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.1234, allocations: 99.16 kB / 427.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.1235, allocations: 42 kB / 427.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1237, allocations: 338.8 kB / 427.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1238, allocations: 72.53 kB / 427.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.124, allocations: 98.73 kB / 427.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.1243, allocations: 182.2 kB / 427.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1243, allocations: 0 / 427.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005864/0.1249, allocations: 322 kB / 428.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1249, allocations: 4 kB / 428.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1249, allocations: 4.031 kB / 428.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.1252, allocations: 84.81 kB / 428.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1254, allocations: 51.84 kB / 428.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.1278, allocations: 2.092 MB / 430.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.128, allocations: 12.08 kB / 430.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.128, allocations: 7.938 kB / 430.4 MB, free: 15.5 MB / 366.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.0001753/0.1282, allocations: 149.8 kB / 430.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.1282, allocations: 27.8 kB / 430.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.1283, allocations: 29.86 kB / 430.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1283, allocations: 4 kB / 430.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.1283, allocations: 4 kB / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1283, allocations: 8 kB / 430.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.1296, allocations: 0.7293 MB / 431.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1296, allocations: 0 / 431.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.1297, allocations: 35.98 kB / 431.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.13, allocations: 76.73 kB / 431.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.13, allocations: 8 kB / 431.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.132, allocations: 1.983 MB / 433.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.132, allocations: 0 / 433.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.1327, allocations: 468.6 kB / 433.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.1328, allocations: 89.02 kB / 434 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1329, allocations: 8.062 kB / 434 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.133, allocations: 15.92 kB / 434 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.1331, allocations: 19.97 kB / 434 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1331, allocations: 12 kB / 434 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1333, allocations: 144.3 kB / 434.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1333, allocations: 0 / 434.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004554/0.1337, allocations: 76 kB / 434.3 MB, free: 11.38 MB / 366.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.001132/0.1348, allocations: 1.01 MB / 435.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007977/0.1356, allocations: 354.7 kB / 435.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1356, allocations: 0 / 435.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.1361, allocations: 254.5 kB / 435.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1365, allocations: 38.48 kB / 435.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.1405, allocations: 2.825 MB / 438.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.141, allocations: 0.7675 MB / 439.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.1411, allocations: 18.3 kB / 439.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1412, allocations: 87.41 kB / 439.6 MB, free: 5.879 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1412, allocations: 4 kB / 439.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/0.2579, allocations: 5.816 MB / 445.4 MB, free: 204 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.74, allocations: 13.95 kB / 445.4 MB, free: 196 kB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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.0119904 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.89828589791432]