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.001249/0.001249, allocations: 109.7 kB / 16.63 MB, free: 6.332 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.001425/0.001425, allocations: 189.9 kB / 17.55 MB, free: 5.801 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.419/1.419, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 46.08 kB / 300.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1359, allocations: 49.45 MB / 349.6 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004748/0.1406, allocations: 2.846 MB / 352.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1421, allocations: 0.6194 MB / 353 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.1424, allocations: 8 kB / 353 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1426, allocations: 35.75 kB / 353.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1429, allocations: 75.38 kB / 353.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1432, allocations: 67.88 kB / 353.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.1436, allocations: 347 kB / 353.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.1439, allocations: 143.3 kB / 353.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.144, allocations: 131.5 kB / 353.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1442, allocations: 143.4 kB / 354 MB, free: 244 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.1443, allocations: 32 kB / 354 MB, free: 212 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.1443, allocations: 36 kB / 354 MB, free: 176 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1444, allocations: 71.7 kB / 354.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.1446, allocations: 167.2 kB / 354.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1449, allocations: 347 kB / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1449, allocations: 0 / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1449, allocations: 0 / 354.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.145, allocations: 0 / 354.6 MB, free: 15.6 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.0008604/0.1458, allocations: 0.5925 MB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1459, allocations: 12.03 kB / 355.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.146, allocations: 32.56 kB / 355.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1462, allocations: 259.8 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1463, allocations: 20.94 kB / 355.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.1463, allocations: 40.28 kB / 355.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.1468, allocations: 249.2 kB / 355.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1468, allocations: 3.984 kB / 355.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.1469, allocations: 12 kB / 355.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1469, allocations: 4 kB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.1472, allocations: 186.1 kB / 356 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1488, allocations: 1.014 MB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.1493, allocations: 334.9 kB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1495, allocations: 151.9 kB / 357.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1495, allocations: 8 kB / 357.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1496, allocations: 30.56 kB / 357.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.406e-06/0.1496, allocations: 3.984 kB / 357.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001504/0.1511, allocations: 0.7766 MB / 358.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1511, allocations: 55.34 kB / 358.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1513, allocations: 194.2 kB / 358.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1514, allocations: 33.7 kB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1515, allocations: 164.3 kB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.1516, allocations: 94.64 kB / 358.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.1517, allocations: 53.98 kB / 358.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1518, allocations: 334.8 kB / 359.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1519, allocations: 72.53 kB / 359.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1521, allocations: 103.6 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1524, allocations: 182.1 kB / 359.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1524, allocations: 0 / 359.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005414/0.153, allocations: 318 kB / 359.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.153, allocations: 8 kB / 359.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.153, allocations: 0 / 359.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.1533, allocations: 84.84 kB / 360 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.1535, allocations: 51.91 kB / 360 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.1556, allocations: 2.088 MB / 362.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1557, allocations: 11.92 kB / 362.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1558, allocations: 12.03 kB / 362.1 MB, free: 7.582 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.0002551/0.156, allocations: 133.8 kB / 362.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.1561, allocations: 15.91 kB / 362.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.1561, allocations: 33.8 kB / 362.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1561, allocations: 4 kB / 362.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1562, allocations: 8.062 kB / 362.3 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1562, allocations: 3.938 kB / 362.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1572, allocations: 0.7409 MB / 363.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1572, allocations: 4 kB / 363.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1574, allocations: 43.98 kB / 363.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.1576, allocations: 68.8 kB / 363.2 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1576, allocations: 4 kB / 363.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.1594, allocations: 1.99 MB / 365.2 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1594, allocations: 3.938 kB / 365.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1601, allocations: 464.2 kB / 365.6 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.1601, allocations: 97.09 kB / 365.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1602, allocations: 8.062 kB / 365.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1603, allocations: 11.98 kB / 365.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.1604, allocations: 27.91 kB / 365.8 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1604, allocations: 4 kB / 365.8 MB, free: 3.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1606, allocations: 140.3 kB / 365.9 MB, free: 3.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1606, allocations: 7.938 kB / 365.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.161, allocations: 79.98 kB / 366 MB, free: 3.465 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.0001414/0.1612, allocations: 107.2 kB / 366.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.1619, allocations: 370.4 kB / 366.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1619, allocations: 0 / 366.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.1623, allocations: 262.6 kB / 366.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1627, allocations: 44.03 kB / 366.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1641, allocations: 0.8905 MB / 367.6 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1645, allocations: 0.7675 MB / 368.4 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.1646, allocations: 18.3 kB / 368.4 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.1647, allocations: 19.44 kB / 368.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1647, allocations: 3.938 kB / 368.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of Templates: time 0.1991/0.3638, allocations: 3.17 MB / 371.6 MB, free: 24.78 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 -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","/var/lib/jenkins/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