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.001255/0.001255, allocations: 122.4 kB / 17.74 MB, free: 5.219 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.001296/0.001296, allocations: 186.9 kB / 20.68 MB, free: 2.293 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.498/1.498, allocations: 222.9 MB / 246.4 MB, free: 4.207 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.001467/0.001467, allocations: 47.92 kB / 357.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 49.44 MB / 406.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00395/0.1061, allocations: 2.812 MB / 409.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1072, allocations: 0.6154 MB / 410.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1074, allocations: 7.938 kB / 410.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1075, allocations: 47.56 kB / 410.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1078, allocations: 91.19 kB / 410.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.108, allocations: 71.84 kB / 410.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.1084, allocations: 350.9 kB / 410.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.1086, allocations: 143.5 kB / 411.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1088, allocations: 131.6 kB / 411.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.109, allocations: 151.3 kB / 411.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.1091, allocations: 36 kB / 411.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.1091, allocations: 32 kB / 411.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.1092, allocations: 67.77 kB / 411.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.1094, allocations: 163.2 kB / 411.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.1098, allocations: 354.5 kB / 412 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1098, allocations: 0 / 412 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1098, allocations: 0 / 412 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1098, allocations: 0 / 412 MB, free: 2.258 MB / 334.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.001008/0.1108, allocations: 0.6054 MB / 412.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1109, allocations: 8.031 kB / 412.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.418e-05/0.111, allocations: 70.66 kB / 412.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.1111, allocations: 32.75 kB / 412.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.1115, allocations: 267.9 kB / 413 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1116, allocations: 20.94 kB / 413 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.1116, allocations: 28.38 kB / 413 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.1121, allocations: 252.9 kB / 413.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1121, allocations: 4 kB / 413.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.1122, allocations: 12 kB / 413.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1122, allocations: 8 kB / 413.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.1125, allocations: 186.2 kB / 413.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1141, allocations: 1.006 MB / 414.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.1145, allocations: 332.8 kB / 414.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1147, allocations: 148.7 kB / 414.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1148, allocations: 4 kB / 414.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1148, allocations: 38.56 kB / 415 MB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.1148, allocations: 0 / 415 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001582/0.1164, allocations: 0.7752 MB / 415.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1165, allocations: 59.34 kB / 415.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1167, allocations: 190.3 kB / 416 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1167, allocations: 29.7 kB / 416 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1169, allocations: 176.5 kB / 416.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.117, allocations: 103.1 kB / 416.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.1171, allocations: 50 kB / 416.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1172, allocations: 334.8 kB / 416.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1174, allocations: 72.53 kB / 416.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1175, allocations: 102.7 kB / 416.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.1179, allocations: 182.2 kB / 417 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1179, allocations: 0 / 417 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005377/0.1184, allocations: 318.1 kB / 417.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1184, allocations: 4 kB / 417.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1185, allocations: 8 kB / 417.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.1187, allocations: 92.77 kB / 417.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1189, allocations: 47.86 kB / 417.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.1212, allocations: 2.084 MB / 419.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1213, allocations: 11.97 kB / 419.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1213, allocations: 4 kB / 419.6 MB, free: 10.16 MB / 350.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.0001653/0.1215, allocations: 145.9 kB / 419.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.1216, allocations: 27.8 kB / 419.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.1216, allocations: 29.86 kB / 419.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1216, allocations: 4 kB / 419.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1217, allocations: 0 / 419.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1217, allocations: 3.938 kB / 419.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1228, allocations: 0.7488 MB / 420.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1228, allocations: 0 / 420.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.123, allocations: 31.98 kB / 420.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.1232, allocations: 72.73 kB / 420.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1232, allocations: 8 kB / 420.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1251, allocations: 1.991 MB / 422.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1252, allocations: 4 kB / 422.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.1258, allocations: 468.1 kB / 423.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.1259, allocations: 89.02 kB / 423.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.126, allocations: 8.062 kB / 423.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1261, allocations: 19.92 kB / 423.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.1262, allocations: 15.97 kB / 423.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1262, allocations: 8 kB / 423.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1264, allocations: 144.3 kB / 423.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1264, allocations: 4 kB / 423.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.1268, allocations: 80 kB / 423.5 MB, free: 6.031 MB / 350.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.001038/0.1278, allocations: 1.007 MB / 424.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.1286, allocations: 370.7 kB / 424.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1286, allocations: 0 / 424.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.129, allocations: 262.6 kB / 425.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1294, allocations: 38.31 kB / 425.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.1329, allocations: 2.843 MB / 428 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1333, allocations: 0.7675 MB / 428.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.013e-05/0.1334, allocations: 14.3 kB / 428.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1335, allocations: 83.62 kB / 428.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1335, allocations: 0 / 428.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2137/0.3473, allocations: 5.779 MB / 434.6 MB, free: 22.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.73, allocations: 1.25 kB / 434.6 MB, free: 22.57 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.409910173970275]