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) 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 4.0.0+maint.om/package.mo", uses=false) 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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001687/0.001687, allocations: 187 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 43.41 kB / 302.1 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1256, allocations: 49.45 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004366/0.1301, allocations: 2.801 MB / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1313, allocations: 0.6154 MB / 354.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1315, allocations: 4 kB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1317, allocations: 55.5 kB / 355 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.132, allocations: 83.19 kB / 355.1 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1322, allocations: 79.84 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.1326, allocations: 354.9 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.1329, allocations: 147.3 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.1331, allocations: 127.5 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1333, allocations: 151.4 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.1334, allocations: 32 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.854e-05/0.1335, allocations: 31.94 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1336, allocations: 63.83 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1337, allocations: 167.2 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.1341, allocations: 366.7 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1341, allocations: 0 / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1341, allocations: 0 / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1341, allocations: 0 / 356.5 MB, free: 14.65 MB / 302.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.0009327/0.1351, allocations: 0.5925 MB / 357.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1351, allocations: 8.031 kB / 357.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.1352, allocations: 36.56 kB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.1356, allocations: 256.3 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.1356, allocations: 20.94 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.1357, allocations: 32.28 kB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.1361, allocations: 257.2 kB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1362, allocations: 0 / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.1362, allocations: 8 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1362, allocations: 8 kB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1366, allocations: 186.2 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.1381, allocations: 1.006 MB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.1386, allocations: 320.9 kB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1388, allocations: 152.8 kB / 359.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1388, allocations: 3.938 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1389, allocations: 34.56 kB / 359.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.1389, allocations: 4 kB / 359.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.00147/0.1404, allocations: 0.7742 MB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1404, allocations: 63.34 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1406, allocations: 194.2 kB / 360.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1407, allocations: 29.7 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1408, allocations: 168.3 kB / 360.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.1409, allocations: 94.64 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.141, allocations: 45.98 kB / 360.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1411, allocations: 338.8 kB / 361.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1413, allocations: 68.53 kB / 361.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1414, allocations: 107.6 kB / 361.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.1417, allocations: 182.1 kB / 361.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1417, allocations: 0 / 361.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005401/0.1423, allocations: 322 kB / 361.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1423, allocations: 8 kB / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1423, allocations: 0 / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.1426, allocations: 84.75 kB / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.1428, allocations: 43.97 kB / 361.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.1449, allocations: 2.092 MB / 364 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.145, allocations: 11.97 kB / 364 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.1451, allocations: 12 kB / 364 MB, free: 6.652 MB / 302.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.0001752/0.1452, allocations: 145.7 kB / 364.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1453, allocations: 15.81 kB / 364.2 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.1453, allocations: 29.94 kB / 364.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1454, allocations: 4 kB / 364.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1454, allocations: 0 / 364.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1454, allocations: 7.922 kB / 364.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1464, allocations: 0.741 MB / 365 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1465, allocations: 4 kB / 365 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1466, allocations: 39.91 kB / 365 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.1468, allocations: 68.8 kB / 365.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1469, allocations: 8.094 kB / 365.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.1488, allocations: 1.994 MB / 367.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1488, allocations: 0 / 367.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.1495, allocations: 464.2 kB / 367.5 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.1496, allocations: 104.8 kB / 367.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1496, allocations: 8.125 kB / 367.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.1498, allocations: 12 kB / 367.7 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.1498, allocations: 19.97 kB / 367.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1499, allocations: 4.125 kB / 367.7 MB, free: 2.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.15, allocations: 148.3 kB / 367.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.15, allocations: 0 / 367.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004451/0.1505, allocations: 76 kB / 367.9 MB, free: 2.535 MB / 302.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.0001413/0.1506, allocations: 111.2 kB / 368 MB, free: 2.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.1513, allocations: 366.6 kB / 368.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1514, allocations: 4 kB / 368.4 MB, free: 2.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.1518, allocations: 254.7 kB / 368.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1522, allocations: 43.12 kB / 368.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1536, allocations: 0.7699 MB / 369.4 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.154, allocations: 0.7713 MB / 370.2 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.834e-05/0.1541, allocations: 14.3 kB / 370.2 MB, free: 136 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.1541, allocations: 23.38 kB / 370.3 MB, free: 112 kB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1542, allocations: 0 / 370.3 MB, free: 112 kB / 302.1 MB Notification: Performance of Templates: time 0.2031/0.3573, allocations: 3.207 MB / 373.5 MB, free: 24.57 MB / 302.1 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 -s gbode -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/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) Reference file matches