Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008995/0.0008996, allocations: 182.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 225.7 MB / 243.2 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008377/0.0008376, allocations: 94.89 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002181, allocations: 7.938 kB / 354.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1963, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001275/0.1976, allocations: 1.315 MB / 405.9 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.1984, allocations: 0.7736 MB / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.1985, allocations: 0 / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1987, allocations: 35.86 kB / 406.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.1988, allocations: 36.34 kB / 406.7 MB, free: 29.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.1997, allocations: 1.07 MB / 407.8 MB, free: 27.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1998, allocations: 107.6 kB / 407.9 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.1999, allocations: 30.2 kB / 407.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2, allocations: 47.78 kB / 408 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2001, allocations: 76.97 kB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2002, allocations: 4 kB / 408.1 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2003, allocations: 131.8 kB / 408.2 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.2004, allocations: 35.72 kB / 408.2 MB, free: 27.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.2004, allocations: 81.3 kB / 408.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2007, allocations: 215.4 kB / 408.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2007, allocations: 3.938 kB / 408.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2007, allocations: 0 / 408.5 MB, free: 27.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.2007, allocations: 0 / 408.5 MB, free: 27.21 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.001167/0.2019, allocations: 0.5419 MB / 409.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.2019, allocations: 8.031 kB / 409.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.203, allocations: 168.5 kB / 409.2 MB, free: 26.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.2032, allocations: 205 kB / 409.4 MB, free: 26.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2032, allocations: 12.38 kB / 409.4 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2032, allocations: 12.36 kB / 409.4 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.2036, allocations: 181.9 kB / 409.6 MB, free: 26.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2036, allocations: 7.938 kB / 409.6 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.2036, allocations: 4 kB / 409.6 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.2036, allocations: 4 kB / 409.6 MB, free: 25.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.204, allocations: 191.9 kB / 409.8 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.2047, allocations: 0.5391 MB / 410.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.205, allocations: 182.4 kB / 410.5 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2052, allocations: 104.8 kB / 410.6 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2052, allocations: 0 / 410.6 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.2053, allocations: 42.55 kB / 410.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.2053, allocations: 0 / 410.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005879/0.2059, allocations: 297.2 kB / 411 MB, free: 24.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.2059, allocations: 51.41 kB / 411 MB, free: 24.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.206, allocations: 186 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.206, allocations: 25.7 kB / 411.2 MB, free: 24.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.2061, allocations: 112 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.2061, allocations: 55.19 kB / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.2061, allocations: 8 kB / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.2062, allocations: 322.8 kB / 411.7 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.2063, allocations: 75.95 kB / 411.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2065, allocations: 103.8 kB / 411.9 MB, free: 23.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.2068, allocations: 199.3 kB / 412.1 MB, free: 23.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2069, allocations: 0 / 412.1 MB, free: 23.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000391/0.2073, allocations: 237.6 kB / 412.3 MB, free: 23.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2073, allocations: 8 kB / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2073, allocations: 3.938 kB / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2073, allocations: 0 / 412.3 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.2075, allocations: 51.98 kB / 412.4 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2076, allocations: 4 kB / 412.4 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.2077, allocations: 19.83 kB / 412.4 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2077, allocations: 15.88 kB / 412.4 MB, free: 23.05 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.846e-05/0.2078, allocations: 133.8 kB / 412.6 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.2078, allocations: 7.906 kB / 412.6 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.2083, allocations: 283.6 kB / 412.8 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2083, allocations: 4 kB / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2084, allocations: 0 / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2084, allocations: 0 / 412.8 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.2086, allocations: 281.4 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2086, allocations: 4 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2088, allocations: 43.89 kB / 413.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2088, allocations: 4 kB / 413.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2088, allocations: 7.938 kB / 413.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2088, allocations: 0 / 413.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2088, allocations: 4 kB / 413.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.2093, allocations: 337.3 kB / 413.5 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.2093, allocations: 92.91 kB / 413.6 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2093, allocations: 11.94 kB / 413.6 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2095, allocations: 11.98 kB / 413.6 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2096, allocations: 11.98 kB / 413.6 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2096, allocations: 15.98 kB / 413.7 MB, free: 21.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.322e-05/0.2097, allocations: 138.3 kB / 413.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2097, allocations: 0 / 413.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.2099, allocations: 31.94 kB / 413.8 MB, free: 21.56 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.892e-05/0.21, allocations: 111.2 kB / 413.9 MB, free: 21.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.2104, allocations: 203.9 kB / 414.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2104, allocations: 4 kB / 414.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.2106, allocations: 112.1 kB / 414.2 MB, free: 21.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2108, allocations: 19.27 kB / 414.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.2113, allocations: 394.2 kB / 414.6 MB, free: 20.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.2115, allocations: 0.7244 MB / 415.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.2116, allocations: 33.41 kB / 415.4 MB, free: 19.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.2117, allocations: 19.42 kB / 415.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2117, allocations: 0 / 415.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of Templates: time 0.004009/0.2157, allocations: 1.922 MB / 417.3 MB, free: 18 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches