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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 85.23 kB / 21.44 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 158.6 MB / 186.5 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 298.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.135e-05, allocations: 2.281 kB / 298.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003022/0.003053, allocations: 1.557 MB / 300.5 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.00443, allocations: 0.6559 MB / 301.1 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.004499, allocations: 0 / 301.1 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.004772, allocations: 51.66 kB / 301.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.005008, allocations: 35.67 kB / 301.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.006515, allocations: 0.5874 MB / 301.8 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.006768, allocations: 119.6 kB / 301.9 MB, free: 5.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.006889, allocations: 21.25 kB / 301.9 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.007078, allocations: 75.8 kB / 302 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.007227, allocations: 63.8 kB / 302.1 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.00726, allocations: 8 kB / 302.1 MB, free: 5.578 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.007504, allocations: 107.9 kB / 302.2 MB, free: 5.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.007576, allocations: 39.83 kB / 302.2 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.007636, allocations: 39.84 kB / 302.3 MB, free: 5.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.008032, allocations: 235.3 kB / 302.5 MB, free: 5.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.008035, allocations: 0 / 302.5 MB, free: 5.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008036, allocations: 3.938 kB / 302.5 MB, free: 5.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.008041, allocations: 0 / 302.5 MB, free: 5.16 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.001616/0.009657, allocations: 0.4896 MB / 303 MB, free: 4.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.009698, allocations: 19.98 kB / 303 MB, free: 4.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.0112, allocations: 188.5 kB / 303.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.01145, allocations: 157.6 kB / 303.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.01147, allocations: 4.375 kB / 303.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.0115, allocations: 12.38 kB / 303.4 MB, free: 4.242 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.01193, allocations: 182.1 kB / 303.5 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01194, allocations: 192 / 303.5 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.01196, allocations: 4.375 kB / 303.5 MB, free: 4.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.01199, allocations: 11.94 kB / 303.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.01242, allocations: 163.9 kB / 303.7 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.01334, allocations: 443.9 kB / 304.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.01374, allocations: 158.5 kB / 304.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.01396, allocations: 84.8 kB / 304.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01399, allocations: 4 kB / 304.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.01402, allocations: 38.56 kB / 304.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.01402, allocations: 0 / 304.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007405/0.01476, allocations: 261.4 kB / 304.7 MB, free: 2.855 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.01481, allocations: 59.59 kB / 304.7 MB, free: 2.785 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01496, allocations: 157.8 kB / 304.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.01499, allocations: 25.7 kB / 304.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.01508, allocations: 119.9 kB / 305 MB, free: 2.469 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.01512, allocations: 43.64 kB / 305.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.01519, allocations: 33.7 kB / 305.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01533, allocations: 322.8 kB / 305.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.01552, allocations: 67.94 kB / 305.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.01573, allocations: 94.45 kB / 305.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.01613, allocations: 170.4 kB / 305.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01613, allocations: 0 / 305.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004965/0.01663, allocations: 205.5 kB / 305.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01665, allocations: 4 kB / 306 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01665, allocations: 0 / 306 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01667, allocations: 12 kB / 306 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.01691, allocations: 31.97 kB / 306 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.01692, allocations: 7.922 kB / 306 MB, free: 1.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.01707, allocations: 15.95 kB / 306 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01709, allocations: 11.92 kB / 306 MB, free: 1.43 MB / 286.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.0001246/0.01721, allocations: 125.8 kB / 306.2 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.01726, allocations: 15.91 kB / 306.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.01786, allocations: 257 kB / 306.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.01786, allocations: 3.938 kB / 306.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01787, allocations: 0 / 306.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01787, allocations: 3.938 kB / 306.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.01813, allocations: 201.1 kB / 306.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01814, allocations: 0 / 306.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.01835, allocations: 35.97 kB / 306.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01836, allocations: 0 / 306.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.01838, allocations: 7.984 kB / 306.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01838, allocations: 0 / 306.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01838, allocations: 11.94 kB / 306.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.01893, allocations: 311.2 kB / 307 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.01895, allocations: 15.84 kB / 307 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.01898, allocations: 8 kB / 307 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.01914, allocations: 7.984 kB / 307 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.0192, allocations: 19.91 kB / 307 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.01921, allocations: 4 kB / 307 MB, free: 376 kB / 286.1 MB Notification: Performance of sorting global known variables: time 9.511e-05/0.01931, allocations: 119.2 kB / 307.2 MB, free: 256 kB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01931, allocations: 0 / 307.2 MB, free: 256 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.01959, allocations: 31.95 kB / 307.2 MB, free: 224 kB / 286.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.0001598/0.01975, allocations: 107.2 kB / 307.3 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.02025, allocations: 163.9 kB / 307.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02025, allocations: 128 / 307.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.02047, allocations: 98.67 kB / 307.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.02076, allocations: 23.86 kB / 307.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.02142, allocations: 321.8 kB / 307.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02154, allocations: 111.4 kB / 308 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.02164, allocations: 33.11 kB / 308 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.02172, allocations: 24.48 kB / 308 MB, free: 15.3 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.02172, allocations: 0 / 308 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Templates: time 0.005469/0.02719, allocations: 1.89 MB / 309.9 MB, free: 13.42 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.436911631375551]