Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001854/0.001855, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.262/2.262, allocations: 222.9 MB / 241.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 44.67 kB / 300.6 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1567, allocations: 49.45 MB / 350 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004786/0.1616, allocations: 1.689 MB / 351.7 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1634, allocations: 0.6349 MB / 352.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.1635, allocations: 4 kB / 352.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.164, allocations: 43.86 kB / 352.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1642, allocations: 27.84 kB / 352.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.1661, allocations: 0.5858 MB / 353 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1664, allocations: 107.6 kB / 353.1 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1666, allocations: 33.08 kB / 353.2 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.1668, allocations: 51.77 kB / 353.2 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1671, allocations: 83.66 kB / 353.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.1672, allocations: 8 kB / 353.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.1675, allocations: 131.8 kB / 353.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1676, allocations: 35.89 kB / 353.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.1677, allocations: 55.59 kB / 353.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.1681, allocations: 151.7 kB / 353.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1681, allocations: 0 / 353.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1681, allocations: 4 kB / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1682, allocations: 0 / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002345/0.1705, allocations: 0.5577 MB / 354.2 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.1706, allocations: 16.03 kB / 354.3 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.1731, allocations: 164.5 kB / 354.4 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1734, allocations: 196.1 kB / 354.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.1735, allocations: 12.31 kB / 354.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.1735, allocations: 16.38 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.1742, allocations: 185.9 kB / 354.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1742, allocations: 0 / 354.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.1742, allocations: 3.984 kB / 354.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.1743, allocations: 15.94 kB / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.175, allocations: 167.9 kB / 355 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.1765, allocations: 0.5314 MB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.1771, allocations: 182.4 kB / 355.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.1775, allocations: 96.8 kB / 355.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.1776, allocations: 4 kB / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1776, allocations: 34.56 kB / 355.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.345e-06/0.1777, allocations: 0 / 355.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001178/0.1788, allocations: 281.5 kB / 356.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.1789, allocations: 51.41 kB / 356.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1792, allocations: 191.2 kB / 356.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.1793, allocations: 25.7 kB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1794, allocations: 112 kB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.1795, allocations: 51.19 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.1796, allocations: 45.62 kB / 356.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1798, allocations: 322.8 kB / 356.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1801, allocations: 75.94 kB / 357 MB, free: 13.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.1804, allocations: 106.9 kB / 357.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.1811, allocations: 190.2 kB / 357.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1811, allocations: 0 / 357.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008446/0.182, allocations: 233.5 kB / 357.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.1821, allocations: 10.97 kB / 357.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.1821, allocations: 3.938 kB / 357.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1821, allocations: 0 / 357.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.1825, allocations: 39.91 kB / 357.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1825, allocations: 0 / 357.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.1828, allocations: 23.92 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.1828, allocations: 8 kB / 357.6 MB, free: 12.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.183, allocations: 129.8 kB / 357.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.1831, allocations: 11.84 kB / 357.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009922/0.1841, allocations: 278.8 kB / 358 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.1841, allocations: 0 / 358 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1842, allocations: 8 kB / 358 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1842, allocations: 0 / 358 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.1847, allocations: 277.5 kB / 358.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1847, allocations: 4 kB / 358.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.1851, allocations: 31.97 kB / 358.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1851, allocations: 4 kB / 358.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.1851, allocations: 7.938 kB / 358.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.1851, allocations: 4 kB / 358.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1852, allocations: 11.92 kB / 358.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.186, allocations: 334 kB / 358.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.1861, allocations: 92.86 kB / 358.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.1862, allocations: 11.94 kB / 358.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.1864, allocations: 7.984 kB / 358.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.1865, allocations: 11.98 kB / 358.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.1865, allocations: 11.98 kB / 358.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.1867, allocations: 139.9 kB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1867, allocations: 0 / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000448/0.1872, allocations: 24 kB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002266/0.1874, allocations: 107.2 kB / 359.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007664/0.1882, allocations: 187.8 kB / 359.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1882, allocations: 0 / 359.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.1886, allocations: 107.9 kB / 359.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.1891, allocations: 15.98 kB / 359.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1901, allocations: 415 kB / 359.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1905, allocations: 0.7322 MB / 360.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1907, allocations: 27.36 kB / 360.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1907, allocations: 0 / 360.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of Templates: time 0.006356/0.197, allocations: 2.206 MB / 362.7 MB, free: 7.504 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches