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.001392/0.001392, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001082/0.001082, allocations: 166.4 kB / 25.33 MB, free: 8.598 MB / 18.57 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 0.9071/0.9071, allocations: 158.6 MB / 187.2 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] 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.413e-06/1.413e-06, allocations: 0 / 251 MB, free: 7.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.829e-05, allocations: 2.312 kB / 251 MB, free: 7.559 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.005686/0.005714, allocations: 1.614 MB / 252.6 MB, free: 5.934 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.006913, allocations: 0.6668 MB / 253.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.006983, allocations: 4 kB / 253.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.007278, allocations: 51.64 kB / 253.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.007481, allocations: 39.67 kB / 253.4 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.008503, allocations: 0.5952 MB / 254 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.008726, allocations: 111.6 kB / 254.1 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.00883, allocations: 21.28 kB / 254.1 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.008992, allocations: 83.8 kB / 254.2 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.009133, allocations: 59.81 kB / 254.2 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.009159, allocations: 12 kB / 254.2 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.009415, allocations: 111.8 kB / 254.4 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.009475, allocations: 39.83 kB / 254.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.009528, allocations: 35.84 kB / 254.4 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.009878, allocations: 203.3 kB / 254.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.009881, allocations: 0 / 254.6 MB, free: 3.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009882, allocations: 4 kB / 254.6 MB, free: 3.898 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.009887, allocations: 0 / 254.6 MB, free: 3.898 MB / 234.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.001113/0.011, allocations: 0.5856 MB / 255.2 MB, free: 3.277 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.01104, allocations: 11.98 kB / 255.2 MB, free: 3.266 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/0.0118, allocations: 208.5 kB / 255.4 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.01198, allocations: 152.4 kB / 255.6 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.012, allocations: 16.23 kB / 255.6 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.01202, allocations: 8.375 kB / 255.6 MB, free: 2.863 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.01226, allocations: 134.8 kB / 255.7 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.01227, allocations: 192 / 255.7 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.01228, allocations: 8.375 kB / 255.7 MB, free: 2.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.01231, allocations: 11.88 kB / 255.8 MB, free: 2.703 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.01244, allocations: 71.94 kB / 255.8 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.01306, allocations: 471.2 kB / 256.3 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.01325, allocations: 111 kB / 256.4 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.01332, allocations: 39.67 kB / 256.4 MB, free: 1.973 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01334, allocations: 4 kB / 256.4 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.01337, allocations: 45.31 kB / 256.5 MB, free: 1.914 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.01337, allocations: 0 / 256.5 MB, free: 1.914 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002894/0.01366, allocations: 149.4 kB / 256.6 MB, free: 1.766 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.01369, allocations: 55.34 kB / 256.7 MB, free: 1.699 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.01382, allocations: 214.5 kB / 256.9 MB, free: 1.469 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.01383, allocations: 25.7 kB / 256.9 MB, free: 1.438 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.01392, allocations: 166.7 kB / 257.1 MB, free: 1.27 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.01395, allocations: 47.62 kB / 257.1 MB, free: 1.223 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.014, allocations: 39.36 kB / 257.2 MB, free: 1.176 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01412, allocations: 0.4962 MB / 257.7 MB, free: 0.668 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.01417, allocations: 27.97 kB / 257.7 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.01424, allocations: 62.92 kB / 257.8 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01436, allocations: 91.03 kB / 257.8 MB, free: 476 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01436, allocations: 4 kB / 257.8 MB, free: 472 kB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000179/0.01454, allocations: 129.5 kB / 258 MB, free: 336 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01456, allocations: 8 kB / 258 MB, free: 328 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.01456, allocations: 0 / 258 MB, free: 328 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.01458, allocations: 7.922 kB / 258 MB, free: 320 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01471, allocations: 31.92 kB / 258 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.01471, allocations: 7.984 kB / 258 MB, free: 280 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.01477, allocations: 7.953 kB / 258 MB, free: 272 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.01478, allocations: 11.94 kB / 258 MB, free: 260 kB / 234.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 9.058e-05/0.01487, allocations: 168.6 kB / 258.2 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.0149, allocations: 19.84 kB / 258.2 MB, free: 60 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.01516, allocations: 162.2 kB / 258.4 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01516, allocations: 3.938 kB / 258.4 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01516, allocations: 4 kB / 258.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01517, allocations: 0 / 258.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.01534, allocations: 184.5 kB / 258.6 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01534, allocations: 0 / 258.6 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.01546, allocations: 39.91 kB / 258.6 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01546, allocations: 0 / 258.6 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01548, allocations: 15.98 kB / 258.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01548, allocations: 0 / 258.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01548, allocations: 3.938 kB / 258.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.01574, allocations: 295.1 kB / 258.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.01576, allocations: 11.89 kB / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.01579, allocations: 4 kB / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.01585, allocations: 11.98 kB / 259 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.0159, allocations: 15.91 kB / 259 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.01591, allocations: 8 kB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.723e-05/0.01598, allocations: 151.3 kB / 259.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01598, allocations: 0 / 259.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01617, allocations: 35.95 kB / 259.2 MB, free: 15.07 MB / 250.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.0001215/0.01629, allocations: 103.2 kB / 259.3 MB, free: 14.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.01647, allocations: 99.56 kB / 259.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01647, allocations: 0 / 259.4 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.01654, allocations: 63.58 kB / 259.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.01674, allocations: 24.06 kB / 259.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.01735, allocations: 313.6 kB / 259.7 MB, free: 14.44 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.0174, allocations: 79.81 kB / 259.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.712e-05/0.01747, allocations: 25.14 kB / 259.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.01752, allocations: 20.48 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01753, allocations: 0 / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of Templates: time 0.00377/0.0213, allocations: 1.923 MB / 261.8 MB, free: 12.39 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",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.8274685200303793]