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.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 183.7 kB / 16.71 MB, free: 4.969 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.227/1.227, allocations: 225.7 MB / 243.2 MB, free: 8.488 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.0008211/0.000821, allocations: 93.5 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002454, allocations: 11.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1942, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.003416/0.1977, allocations: 4.994 MB / 409.6 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.199, allocations: 1.138 MB / 410.7 MB, free: 25.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.1993, allocations: 23.94 kB / 410.7 MB, free: 25.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1995, allocations: 127 kB / 410.8 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.1998, allocations: 234 kB / 411.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2001, allocations: 195.8 kB / 411.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.2007, allocations: 1.021 MB / 412.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004683/0.2012, allocations: 440.6 kB / 412.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.2014, allocations: 350.6 kB / 413.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.2017, allocations: 398 kB / 413.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.2018, allocations: 52 kB / 413.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2019, allocations: 56 kB / 413.6 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.202, allocations: 159.3 kB / 413.7 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.2023, allocations: 479.2 kB / 414.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.2028, allocations: 1.033 MB / 415.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2028, allocations: 0 / 415.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2028, allocations: 0 / 415.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.2028, allocations: 0 / 415.2 MB, free: 20.61 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001231/0.2041, allocations: 1.081 MB / 416.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2041, allocations: 12.03 kB / 416.3 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.2042, allocations: 103.7 kB / 416.4 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.2046, allocations: 451.2 kB / 416.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.2046, allocations: 66.38 kB / 416.9 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.2047, allocations: 100.3 kB / 417 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2058, allocations: 0.8716 MB / 417.9 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2058, allocations: 0 / 417.9 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.2058, allocations: 44 kB / 417.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2059, allocations: 20 kB / 417.9 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.2066, allocations: 0.5661 MB / 418.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.2096, allocations: 2.976 MB / 421.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.2099, allocations: 298.5 kB / 421.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.2102, allocations: 276.7 kB / 422 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2102, allocations: 4 kB / 422.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2103, allocations: 38.56 kB / 422.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.2103, allocations: 0 / 422.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001122/0.2114, allocations: 0.6627 MB / 422.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.2114, allocations: 59.41 kB / 422.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.2118, allocations: 0.5101 MB / 423.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2119, allocations: 37.7 kB / 423.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.212, allocations: 481.6 kB / 423.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.2121, allocations: 157.8 kB / 424 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.2121, allocations: 16 kB / 424 MB, free: 11.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.2122, allocations: 366.8 kB / 424.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.2124, allocations: 169.9 kB / 424.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.2127, allocations: 453.4 kB / 425 MB, free: 10.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.2133, allocations: 0.6481 MB / 425.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2133, allocations: 4 kB / 425.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008711/0.2141, allocations: 0.7529 MB / 426.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2142, allocations: 8 kB / 426.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2142, allocations: 11.98 kB / 426.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.2144, allocations: 93.22 kB / 426.5 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.215, allocations: 195.7 kB / 426.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.2162, allocations: 1.803 MB / 428.5 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.2165, allocations: 91.05 kB / 428.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.2166, allocations: 32 kB / 428.6 MB, free: 6.508 MB / 298.7 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 (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 prepare postOptimizeDAE: time 0.0001764/0.2168, allocations: 221.4 kB / 428.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.2168, allocations: 59.34 kB / 428.9 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.2169, allocations: 65.5 kB / 428.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2169, allocations: 8.062 kB / 428.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2169, allocations: 0 / 428.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2169, allocations: 7.938 kB / 428.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.2174, allocations: 0.6453 MB / 429.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2174, allocations: 3.984 kB / 429.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.2178, allocations: 99.88 kB / 429.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.218, allocations: 73.08 kB / 429.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.218, allocations: 12 kB / 429.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.2191, allocations: 1.788 MB / 431.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2191, allocations: 4.031 kB / 431.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.2198, allocations: 0.6544 MB / 432.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.2199, allocations: 136.4 kB / 432.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.2199, allocations: 4 kB / 432.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.2203, allocations: 63.84 kB / 432.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.2203, allocations: 23.95 kB / 432.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2204, allocations: 16 kB / 432.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003087/0.2207, allocations: 346.9 kB / 432.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2207, allocations: 0 / 432.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005686/0.2213, allocations: 243.2 kB / 433 MB, free: 1.82 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,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 (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 9.804e-05/0.2214, allocations: 119.2 kB / 433.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.2221, allocations: 0.5928 MB / 433.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2221, allocations: 0.6875 kB / 433.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.2224, allocations: 326.2 kB / 434.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.223, allocations: 118.4 kB / 434.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.2249, allocations: 1.857 MB / 436 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2254, allocations: 0.9338 MB / 437 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.2256, allocations: 69.22 kB / 437 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.2257, allocations: 39.44 kB / 437.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2257, allocations: 0 / 437.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of Templates: time 0.01116/0.2369, allocations: 6.758 MB / 443.8 MB, free: 6.93 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches