Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.1 MB / 223.7 MB, free: 8.504 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.001015/0.001015, allocations: 107 kB / 271.2 MB, free: 8.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000825/0.0008251, allocations: 39.94 kB / 327.2 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1902, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002838/0.1931, allocations: 1.645 MB / 375.4 MB, free: 44.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.1941, allocations: 0.6762 MB / 376.1 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1941, allocations: 2.375 kB / 376.1 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1944, allocations: 54.14 kB / 376.2 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1945, allocations: 23.86 kB / 376.2 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.1954, allocations: 0.5857 MB / 376.8 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1956, allocations: 104.8 kB / 376.9 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.1957, allocations: 31.41 kB / 376.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1958, allocations: 55.47 kB / 377 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.196, allocations: 82.56 kB / 377.1 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.196, allocations: 6.5 kB / 377.1 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1962, allocations: 136.1 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.1963, allocations: 34.2 kB / 377.2 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.1963, allocations: 54.47 kB / 377.3 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1966, allocations: 223.7 kB / 377.5 MB, free: 43.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1966, allocations: 5.188 kB / 377.5 MB, free: 43.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1966, allocations: 0 / 377.5 MB, free: 43.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1966, allocations: 0 / 377.5 MB, free: 43.08 MB / 298.7 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.00127/0.1979, allocations: 0.5583 MB / 378.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1979, allocations: 13.22 kB / 378.1 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.1991, allocations: 168.5 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1993, allocations: 195 kB / 378.4 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1993, allocations: 8.172 kB / 378.4 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1993, allocations: 14.09 kB / 378.5 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.1997, allocations: 184.4 kB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1997, allocations: 0 / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1997, allocations: 9.016 kB / 378.6 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.1997, allocations: 9.312 kB / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.2001, allocations: 167.5 kB / 378.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.2009, allocations: 0.5417 MB / 379.4 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.2012, allocations: 183 kB / 379.5 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2014, allocations: 100.1 kB / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.2015, allocations: 10.19 kB / 379.6 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2015, allocations: 35.78 kB / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.2015, allocations: 0 / 379.7 MB, free: 41.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006421/0.2022, allocations: 281.5 kB / 380 MB, free: 41.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.2022, allocations: 52.56 kB / 380 MB, free: 41.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.2023, allocations: 192.4 kB / 380.2 MB, free: 41.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2024, allocations: 29.7 kB / 380.2 MB, free: 40.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.2024, allocations: 114.1 kB / 380.3 MB, free: 40.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.2024, allocations: 53.47 kB / 380.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.2025, allocations: 33.73 kB / 380.4 MB, free: 40.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.2026, allocations: 322.2 kB / 380.7 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2027, allocations: 75.81 kB / 380.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2029, allocations: 113.7 kB / 380.9 MB, free: 40.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.2033, allocations: 186.4 kB / 381.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2033, allocations: 4 kB / 381.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004861/0.2038, allocations: 228 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2038, allocations: 7.125 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2038, allocations: 5.469 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2038, allocations: 1.312 kB / 381.3 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.2041, allocations: 32.19 kB / 381.4 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2041, allocations: 2.062 kB / 381.4 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2042, allocations: 26.61 kB / 381.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2042, allocations: 9.734 kB / 381.4 MB, free: 40.07 MB / 298.7 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 7.308e-05/0.2043, allocations: 127.7 kB / 381.5 MB, free: 39.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.2044, allocations: 14.66 kB / 381.5 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.2049, allocations: 269.2 kB / 381.8 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2049, allocations: 10.3 kB / 381.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2049, allocations: 0 / 381.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2049, allocations: 1.125 kB / 381.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2051, allocations: 283.9 kB / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2051, allocations: 0 / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.2054, allocations: 40.69 kB / 382.1 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2054, allocations: 0 / 382.1 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.2054, allocations: 18.52 kB / 382.2 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2054, allocations: 1.375 kB / 382.2 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2054, allocations: 0 / 382.2 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.2062, allocations: 0.998 MB / 383.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.2062, allocations: 102.4 kB / 383.3 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2062, allocations: 5.156 kB / 383.3 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.2064, allocations: 4.219 kB / 383.3 MB, free: 38.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2065, allocations: 23.03 kB / 383.3 MB, free: 38.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2065, allocations: 4.125 kB / 383.3 MB, free: 38.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.2066, allocations: 135.6 kB / 383.4 MB, free: 38.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2066, allocations: 1.188 kB / 383.4 MB, free: 38.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.2069, allocations: 26.25 kB / 383.5 MB, free: 38.34 MB / 298.7 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 9.458e-05/0.207, allocations: 111.9 kB / 383.6 MB, free: 38.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.2074, allocations: 188.7 kB / 383.7 MB, free: 38.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2074, allocations: 0 / 383.7 MB, free: 38.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.2077, allocations: 107.7 kB / 383.8 MB, free: 38.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2079, allocations: 25.16 kB / 383.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.2085, allocations: 0.5363 MB / 384.4 MB, free: 37.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.2087, allocations: 0.7299 MB / 385.1 MB, free: 36.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2088, allocations: 37.69 kB / 385.2 MB, free: 36.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.2089, allocations: 25.83 kB / 385.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2089, allocations: 0 / 385.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004267/0.2132, allocations: 2.011 MB / 387.2 MB, free: 35.7 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches