Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008423/0.0008422, allocations: 182.6 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 225.7 MB / 243.2 MB, free: 8.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.0007431, allocations: 95.39 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002245/0.0002246, allocations: 15.94 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1905, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002065/0.1927, allocations: 2.376 MB / 406.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.1934, allocations: 0.5924 MB / 407.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1935, allocations: 6.75 kB / 407.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1936, allocations: 39.75 kB / 407.6 MB, free: 28.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.1938, allocations: 75.31 kB / 407.7 MB, free: 28.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.1939, allocations: 61.11 kB / 407.7 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.1942, allocations: 338.9 kB / 408.1 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.1944, allocations: 111.9 kB / 408.2 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/0.1945, allocations: 112.4 kB / 408.3 MB, free: 27.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.1946, allocations: 135.3 kB / 408.4 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.1947, allocations: 23.94 kB / 408.4 MB, free: 27.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.1947, allocations: 16 kB / 408.4 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.1948, allocations: 51.78 kB / 408.5 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.1949, allocations: 165 kB / 408.7 MB, free: 27.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1951, allocations: 332.3 kB / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1951, allocations: 0 / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1951, allocations: 0 / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1951, allocations: 0 / 409 MB, free: 26.91 MB / 298.7 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.0006229/0.1957, allocations: 0.5425 MB / 409.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1958, allocations: 15.97 kB / 409.5 MB, free: 26.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.1958, allocations: 32.56 kB / 409.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.196, allocations: 259.7 kB / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1961, allocations: 20.94 kB / 409.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.1961, allocations: 36.36 kB / 409.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.1965, allocations: 257.1 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1965, allocations: 3.938 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1965, allocations: 8 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1965, allocations: 8 kB / 410.1 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.1968, allocations: 186.2 kB / 410.3 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1979, allocations: 1.025 MB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.1983, allocations: 324.9 kB / 411.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1984, allocations: 149.8 kB / 411.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1985, allocations: 4 kB / 411.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1985, allocations: 34.56 kB / 411.9 MB, free: 23.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.1985, allocations: 0 / 411.9 MB, free: 23.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001113/0.1996, allocations: 0.7867 MB / 412.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.924e-05/0.1996, allocations: 55.41 kB / 412.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1998, allocations: 190.2 kB / 412.9 MB, free: 22.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1998, allocations: 33.7 kB / 412.9 MB, free: 22.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1999, allocations: 172.2 kB / 413.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.1999, allocations: 94.64 kB / 413.2 MB, free: 22.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.1999, allocations: 7.938 kB / 413.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2, allocations: 338.7 kB / 413.5 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.2001, allocations: 80.53 kB / 413.6 MB, free: 21.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.2002, allocations: 94.8 kB / 413.7 MB, free: 21.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.2004, allocations: 179.5 kB / 413.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2004, allocations: 4 kB / 413.9 MB, free: 21.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000404/0.2008, allocations: 319.4 kB / 414.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2009, allocations: 4 kB / 414.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2009, allocations: 0 / 414.2 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.2011, allocations: 88.84 kB / 414.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2013, allocations: 47.91 kB / 414.3 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.2027, allocations: 1.897 MB / 416.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2028, allocations: 8.094 kB / 416.2 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2028, allocations: 23.97 kB / 416.2 MB, free: 19.17 MB / 298.7 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 9.041e-05/0.2029, allocations: 141.7 kB / 416.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.2029, allocations: 15.81 kB / 416.4 MB, free: 19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.203, allocations: 29.86 kB / 416.4 MB, free: 18.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.203, allocations: 4 kB / 416.4 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.203, allocations: 4 kB / 416.4 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.203, allocations: 3.938 kB / 416.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.2038, allocations: 0.7474 MB / 417.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2038, allocations: 4 kB / 417.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.204, allocations: 35.98 kB / 417.2 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.2041, allocations: 80.58 kB / 417.3 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2042, allocations: 7.984 kB / 417.3 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.2053, allocations: 1.782 MB / 419.1 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2053, allocations: 4.062 kB / 419.1 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.2058, allocations: 464.4 kB / 419.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.2059, allocations: 93.09 kB / 419.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.2059, allocations: 20.05 kB / 419.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2061, allocations: 16 kB / 419.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.2061, allocations: 19.91 kB / 419.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2061, allocations: 12 kB / 419.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.2062, allocations: 141.5 kB / 419.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2062, allocations: 0 / 419.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.2066, allocations: 80 kB / 419.9 MB, free: 15.25 MB / 298.7 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.0001426/0.2068, allocations: 118.6 kB / 420 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.2073, allocations: 368.8 kB / 420.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2073, allocations: 4 kB / 420.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.2076, allocations: 258.5 kB / 420.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.208, allocations: 43.92 kB / 420.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.209, allocations: 0.964 MB / 421.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2092, allocations: 0.7675 MB / 422.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.523e-05/0.2093, allocations: 22.3 kB / 422.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.2093, allocations: 15.44 kB / 422.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2093, allocations: 3.938 kB / 422.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Templates: time 0.005057/0.2144, allocations: 3.002 MB / 425.5 MB, free: 9.625 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches