Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006811/0.006817, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.621/3.621, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006379, allocations: 15.98 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1445, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005869/0.1505, allocations: 2.213 MB / 376.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.153, allocations: 0.6557 MB / 377.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.1534, allocations: 8 kB / 377.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1536, allocations: 31.75 kB / 377.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.1542, allocations: 99.7 kB / 377.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1546, allocations: 55.94 kB / 377.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.1554, allocations: 235.9 kB / 377.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.1558, allocations: 114.2 kB / 377.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.1562, allocations: 99.64 kB / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.1565, allocations: 127.5 kB / 378.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.964e-05/0.1566, allocations: 20 kB / 378.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.1567, allocations: 16 kB / 378.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.1569, allocations: 51.77 kB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.157, allocations: 77.58 kB / 378.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.1576, allocations: 255.5 kB / 378.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1576, allocations: 0 / 378.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1577, allocations: 0 / 378.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1577, allocations: 0 / 378.6 MB, free: 11.38 MB / 282.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.001675/0.1594, allocations: 0.5496 MB / 379.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.1595, allocations: 8.031 kB / 379.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1596, allocations: 35.62 kB / 379.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.1602, allocations: 254.4 kB / 379.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/0.1603, allocations: 24.52 kB / 379.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.1604, allocations: 28 kB / 379.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1614, allocations: 244.9 kB / 379.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1615, allocations: 0 / 379.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.1616, allocations: 16 kB / 379.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.1616, allocations: 4 kB / 379.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.1626, allocations: 190.1 kB / 379.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.1663, allocations: 1.022 MB / 380.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.1673, allocations: 345.4 kB / 381.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1673, allocations: 192 / 381.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.1674, allocations: 34.75 kB / 381.3 MB, free: 8.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.457e-06/0.1674, allocations: 0 / 381.3 MB, free: 8.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.003318/0.1707, allocations: 0.779 MB / 382.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.1709, allocations: 63.36 kB / 382.1 MB, free: 7.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.1713, allocations: 190.2 kB / 382.3 MB, free: 7.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.1714, allocations: 33.7 kB / 382.4 MB, free: 7.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1716, allocations: 238.6 kB / 382.6 MB, free: 7.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1718, allocations: 86.66 kB / 382.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1718, allocations: 8 kB / 382.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.172, allocations: 322.8 kB / 383 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.1724, allocations: 72.53 kB / 383.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.1728, allocations: 98.8 kB / 383.2 MB, free: 6.449 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.1732, allocations: 91.97 kB / 383.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1733, allocations: 0 / 383.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001379/0.1747, allocations: 310.2 kB / 383.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.1748, allocations: 8 kB / 383.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1748, allocations: 0 / 383.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.1755, allocations: 88.75 kB / 383.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.176, allocations: 43.92 kB / 383.7 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.1806, allocations: 1.932 MB / 385.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.181, allocations: 4 kB / 385.6 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.1811, allocations: 8 kB / 385.6 MB, free: 3.828 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.1815, allocations: 145.7 kB / 385.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1816, allocations: 19.72 kB / 385.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1818, allocations: 33.92 kB / 385.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.1818, allocations: 4 kB / 385.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/0.1818, allocations: 4 kB / 385.8 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1819, allocations: 0 / 385.8 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.1846, allocations: 0.745 MB / 386.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.1846, allocations: 0 / 386.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.1852, allocations: 35.98 kB / 386.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005516/0.1857, allocations: 73.11 kB / 386.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.1858, allocations: 12 kB / 386.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/0.1898, allocations: 1.819 MB / 388.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.1899, allocations: 3.984 kB / 388.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.1916, allocations: 459.8 kB / 389 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.1918, allocations: 101.1 kB / 389.1 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.1919, allocations: 7.938 kB / 389.1 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.1923, allocations: 11.98 kB / 389.1 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.1925, allocations: 24.06 kB / 389.1 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.1925, allocations: 15.98 kB / 389.1 MB, free: 92 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.3896/0.5821, allocations: 140.2 kB / 389.3 MB, free: 20.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.933e-06/0.5822, allocations: 0 / 389.3 MB, free: 20.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001144/0.5834, allocations: 77.19 kB / 389.4 MB, free: 20.31 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002363/0.5837, allocations: 102 kB / 389.5 MB, free: 20.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.5853, allocations: 366.8 kB / 389.8 MB, free: 20.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.5854, allocations: 0 / 389.8 MB, free: 20.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.5865, allocations: 260.7 kB / 390.1 MB, free: 20 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.5873, allocations: 35.16 kB / 390.1 MB, free: 20 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.5903, allocations: 0.9679 MB / 391.1 MB, free: 19.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.5908, allocations: 0.7726 MB / 391.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5909, allocations: 18.44 kB / 391.9 MB, free: 18.73 MB / 282.7 MB Notification: Performance of SimCode: time 2.946e-06/0.5909, allocations: 4 kB / 391.9 MB, free: 18.73 MB / 282.7 MB Notification: Performance of Templates: time 0.01699/0.6079, allocations: 3.891 MB / 395.8 MB, free: 18.53 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches