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.001159/0.001158, allocations: 91.12 kB / 16.65 MB, free: 6.598 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.001226/0.001226, allocations: 182.2 kB / 17.56 MB, free: 6.203 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.649/1.649, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 4.75 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004603/0.1464, allocations: 2.483 MB / 354.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1481, allocations: 0.6077 MB / 354.9 MB, free: 368 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.1484, allocations: 4 kB / 354.9 MB, free: 364 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1487, allocations: 43.69 kB / 355 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000537/0.1493, allocations: 75.38 kB / 355 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1497, allocations: 67.92 kB / 355.1 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007766/0.1505, allocations: 334.9 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.1509, allocations: 115.9 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.1512, allocations: 107.5 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.1516, allocations: 135.4 kB / 355.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.1516, allocations: 20 kB / 355.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.1517, allocations: 16 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1518, allocations: 55.77 kB / 355.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.152, allocations: 160.9 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1525, allocations: 334.9 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1526, allocations: 3.984 kB / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1526, allocations: 0 / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.1526, allocations: 0 / 356.4 MB, free: 14.9 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.001211/0.1538, allocations: 0.5458 MB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.1539, allocations: 12.03 kB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.154, allocations: 32.56 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1545, allocations: 247.8 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.1545, allocations: 20.94 kB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.354e-05/0.1546, allocations: 36.38 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.1553, allocations: 253.2 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1554, allocations: 3.938 kB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.1554, allocations: 12 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1554, allocations: 8 kB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000526/0.156, allocations: 186.2 kB / 357.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.1582, allocations: 1.021 MB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.1589, allocations: 336.9 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.1592, allocations: 154.9 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1592, allocations: 0 / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1593, allocations: 38.56 kB / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.1593, allocations: 0 / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002081/0.1614, allocations: 0.7907 MB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1614, allocations: 51.41 kB / 360.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1617, allocations: 190.3 kB / 360.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1618, allocations: 33.7 kB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1619, allocations: 168.3 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.162, allocations: 94.59 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/0.1621, allocations: 29.7 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1622, allocations: 334.8 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1625, allocations: 80.53 kB / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.1627, allocations: 103.6 kB / 361.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.1632, allocations: 186.1 kB / 361.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1632, allocations: 0 / 361.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007898/0.164, allocations: 326 kB / 361.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.164, allocations: 4 kB / 361.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.164, allocations: 4 kB / 361.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.1644, allocations: 84.84 kB / 361.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1647, allocations: 43.97 kB / 361.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.1675, allocations: 1.901 MB / 363.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.1677, allocations: 8.031 kB / 363.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.1677, allocations: 16.06 kB / 363.6 MB, free: 7.125 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.0002034/0.1679, allocations: 143 kB / 363.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.168, allocations: 19.72 kB / 363.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.1681, allocations: 29.86 kB / 363.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.1681, allocations: 4 kB / 363.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1681, allocations: 0 / 363.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1681, allocations: 4 kB / 363.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1697, allocations: 0.7409 MB / 364.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1697, allocations: 4 kB / 364.6 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.17, allocations: 39.92 kB / 364.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/0.1703, allocations: 76.77 kB / 364.7 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.1703, allocations: 11.98 kB / 364.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.1727, allocations: 1.784 MB / 366.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1727, allocations: 3.984 kB / 366.5 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.1736, allocations: 480.1 kB / 367 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1737, allocations: 92.98 kB / 367.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.1738, allocations: 12.09 kB / 367.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.174, allocations: 15.94 kB / 367.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.1741, allocations: 23.91 kB / 367.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1742, allocations: 4.125 kB / 367.1 MB, free: 3.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1744, allocations: 148.3 kB / 367.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1744, allocations: 0 / 367.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000699/0.1751, allocations: 80 kB / 367.3 MB, free: 3.191 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.0002175/0.1753, allocations: 110.6 kB / 367.4 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1764, allocations: 370.4 kB / 367.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1764, allocations: 0 / 367.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/0.177, allocations: 262.5 kB / 368.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.1776, allocations: 32.27 kB / 368.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1798, allocations: 0.9796 MB / 369.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.1803, allocations: 0.7713 MB / 369.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.1805, allocations: 22.3 kB / 369.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.1806, allocations: 15.44 kB / 369.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of SimCode: time 6.473e-06/0.1806, allocations: 0 / 369.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of Templates: time 0.2417/0.4223, allocations: 2.977 MB / 372.9 MB, free: 23.42 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