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.001308/0.001308, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00143/0.00143, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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.484/1.484, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.844e-06/1.844e-06, allocations: 0 / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.266e-05, allocations: 2.281 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002742/0.002774, allocations: 1.591 MB / 320.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.00396, allocations: 0.6121 MB / 321.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.004023, allocations: 1.5 kB / 321.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.004307, allocations: 49.34 kB / 321.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.004533, allocations: 36.12 kB / 321.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.005736, allocations: 0.5637 MB / 321.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.005976, allocations: 113.8 kB / 321.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.006096, allocations: 24.08 kB / 321.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.006288, allocations: 82.77 kB / 322 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.006482, allocations: 63.86 kB / 322 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.006518, allocations: 9.438 kB / 322 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.006733, allocations: 99.55 kB / 322.1 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.006814, allocations: 37.12 kB / 322.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.006886, allocations: 38.78 kB / 322.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.007297, allocations: 221.1 kB / 322.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.007302, allocations: 3.938 kB / 322.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007304, allocations: 3.625 kB / 322.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.007311, allocations: 0 / 322.4 MB, free: 1.418 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.001494/0.008805, allocations: 498.2 kB / 322.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.008842, allocations: 10.3 kB / 322.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.0102, allocations: 169.7 kB / 323.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.01041, allocations: 165.7 kB / 323.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.01043, allocations: 7.5 kB / 323.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.01046, allocations: 11.09 kB / 323.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.01089, allocations: 183.2 kB / 323.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.0109, allocations: 192 / 323.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.01092, allocations: 9.797 kB / 323.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.01095, allocations: 10.69 kB / 323.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.01139, allocations: 169 kB / 323.6 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008736/0.01226, allocations: 438.1 kB / 324.1 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.01265, allocations: 158.9 kB / 324.2 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.01286, allocations: 89.5 kB / 324.3 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.01289, allocations: 1.188 kB / 324.3 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.01291, allocations: 40.52 kB / 324.3 MB, free: 276 kB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01291, allocations: 0 / 324.3 MB, free: 276 kB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007233/0.01364, allocations: 253.1 kB / 324.6 MB, free: 176 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.01367, allocations: 57.42 kB / 324.6 MB, free: 108 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.01382, allocations: 154.5 kB / 324.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.01385, allocations: 25.7 kB / 324.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.01394, allocations: 118.8 kB / 324.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.014, allocations: 47.33 kB / 325 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.01407, allocations: 38.3 kB / 325 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.01426, allocations: 322.6 kB / 325.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.01446, allocations: 66.27 kB / 325.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.01469, allocations: 87.12 kB / 325.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.01511, allocations: 167.3 kB / 325.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01511, allocations: 0 / 325.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00051/0.01562, allocations: 215.8 kB / 325.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01564, allocations: 6.078 kB / 325.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01565, allocations: 1.125 kB / 325.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.01567, allocations: 9.047 kB / 325.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.01591, allocations: 42.27 kB / 325.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01592, allocations: 1.406 kB / 325.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.01606, allocations: 13.55 kB / 325.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.01608, allocations: 9.906 kB / 325.9 MB, free: 15.21 MB / 302.1 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 0.0001429/0.01622, allocations: 139.3 kB / 326.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.01626, allocations: 13.94 kB / 326.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006458/0.01691, allocations: 243.9 kB / 326.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.01692, allocations: 6.219 kB / 326.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01692, allocations: 0 / 326.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01693, allocations: 1.125 kB / 326.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.01722, allocations: 189.6 kB / 326.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01722, allocations: 4.562 kB / 326.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.01745, allocations: 40.19 kB / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01746, allocations: 1.594 kB / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.01747, allocations: 4.016 kB / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01748, allocations: 1.031 kB / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.01748, allocations: 3.938 kB / 326.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.01807, allocations: 317.4 kB / 326.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.0181, allocations: 18.31 kB / 326.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.01814, allocations: 9.828 kB / 326.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.0183, allocations: 11.62 kB / 326.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.01836, allocations: 15.48 kB / 326.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.01838, allocations: 10.78 kB / 326.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.01848, allocations: 118 kB / 327.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01848, allocations: 0 / 327.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.01877, allocations: 31.03 kB / 327.1 MB, free: 14.48 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 (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.0001735/0.01895, allocations: 111.7 kB / 327.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.01944, allocations: 167.9 kB / 327.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01944, allocations: 0 / 327.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.01968, allocations: 96.97 kB / 327.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.01997, allocations: 14.48 kB / 327.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007212/0.02069, allocations: 325 kB / 327.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.02082, allocations: 111 kB / 327.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.02093, allocations: 37.81 kB / 327.9 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.02102, allocations: 26.66 kB / 328 MB, free: 13.99 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.02102, allocations: 0 / 328 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Templates: time 0.006157/0.02718, allocations: 1.885 MB / 329.8 MB, free: 13.57 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.413996513932943]