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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 147.5 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.033/1.033, allocations: 173.3 MB / 201.4 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 268.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.879e-05, allocations: 6.25 kB / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002628/0.002657, allocations: 1.652 MB / 270 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003784, allocations: 0.6347 MB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.003854, allocations: 4 kB / 270.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.0041, allocations: 51.66 kB / 270.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.004292, allocations: 35.77 kB / 270.7 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.005154, allocations: 0.5522 MB / 271.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.005354, allocations: 111.7 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.005453, allocations: 21.28 kB / 271.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.005598, allocations: 83.73 kB / 271.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.005727, allocations: 67.8 kB / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.005747, allocations: 12 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.005925, allocations: 91.86 kB / 271.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.005973, allocations: 39.83 kB / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.00601, allocations: 39.84 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.006278, allocations: 195.3 kB / 271.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00628, allocations: 4 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006281, allocations: 0 / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.006285, allocations: 0 / 271.9 MB, free: 2.641 MB / 250.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.0008437/0.007129, allocations: 0.57 MB / 272.5 MB, free: 2.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.007163, allocations: 12.92 kB / 272.5 MB, free: 2.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006991/0.007862, allocations: 184.6 kB / 272.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.008009, allocations: 156.3 kB / 272.9 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.008023, allocations: 8.234 kB / 272.9 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.008039, allocations: 12.38 kB / 272.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.008228, allocations: 130.8 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.008236, allocations: 192 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.008248, allocations: 4.359 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.008269, allocations: 7.938 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.008358, allocations: 63.89 kB / 273.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.008856, allocations: 431.8 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.008991, allocations: 95.02 kB / 273.6 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.539e-05/0.009036, allocations: 43.66 kB / 273.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.009057, allocations: 0 / 273.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.009077, allocations: 41.39 kB / 273.7 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.009079, allocations: 3.984 kB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002244/0.009304, allocations: 129.8 kB / 273.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.009329, allocations: 51.41 kB / 273.9 MB, free: 0.582 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.00943, allocations: 212.9 kB / 274.1 MB, free: 368 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.009445, allocations: 29.7 kB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.009509, allocations: 166.7 kB / 274.3 MB, free: 160 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.009538, allocations: 51.53 kB / 274.3 MB, free: 108 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.009584, allocations: 43.34 kB / 274.3 MB, free: 56 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.009714, allocations: 0.504 MB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.009747, allocations: 15.98 kB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.009798, allocations: 51.03 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/0.009893, allocations: 82.97 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.009895, allocations: 0 / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001523/0.01005, allocations: 125.2 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01006, allocations: 8.062 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01007, allocations: 4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.01008, allocations: 0 / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01018, allocations: 39.84 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.01019, allocations: 0 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.01024, allocations: 7.953 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01025, allocations: 15.98 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.01033, allocations: 160.6 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.01036, allocations: 11.95 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01057, allocations: 156.9 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01057, allocations: 4 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01057, allocations: 3.938 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01058, allocations: 0 / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01075, allocations: 165.1 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01075, allocations: 0 / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.01084, allocations: 35.97 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01084, allocations: 0 / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.01085, allocations: 4 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01085, allocations: 0 / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01085, allocations: 0 / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.01106, allocations: 295.6 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01107, allocations: 15.84 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01109, allocations: 3.984 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.01115, allocations: 8 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.01119, allocations: 11.97 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.0112, allocations: 8 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.01126, allocations: 151.1 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01126, allocations: 0 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.01144, allocations: 31.95 kB / 276.2 MB, free: 14.06 MB / 266.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001121/0.01155, allocations: 111.1 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01168, allocations: 94.98 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01168, allocations: 0 / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.01173, allocations: 62.06 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.01192, allocations: 28.05 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.01245, allocations: 286.7 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.01249, allocations: 79.83 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.01255, allocations: 25.12 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.01264, allocations: 90.19 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01264, allocations: 0 / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Templates: time 0.003797/0.01644, allocations: 2.073 MB / 279.1 MB, free: 11.19 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6073395991697907]