Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001082/0.001082, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001391/0.001391, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.902e-05, allocations: 5.828 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002495/0.002524, allocations: 1.733 MB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003612, allocations: 0.7359 MB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.003672, allocations: 4 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.003923, allocations: 51.66 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.004101, allocations: 47.64 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.004783, allocations: 489.9 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.004981, allocations: 119.6 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.005078, allocations: 21.8 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.005175, allocations: 83.67 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.005363, allocations: 63.86 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.005385, allocations: 16 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.005589, allocations: 123.8 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.005647, allocations: 39.83 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.00569, allocations: 35.91 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.005949, allocations: 191.3 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005951, allocations: 0 / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005952, allocations: 0 / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005957, allocations: 0 / 276.7 MB, free: 13.68 MB / 266.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.0008386/0.006795, allocations: 0.5582 MB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006833, allocations: 12.03 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.00723, allocations: 108.7 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.007414, allocations: 165.1 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.007429, allocations: 8.375 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.007447, allocations: 8.375 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.007667, allocations: 126.9 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.007678, allocations: 192 / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.007693, allocations: 4.375 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.007723, allocations: 15.88 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.007838, allocations: 67.95 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.008483, allocations: 483.3 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.008697, allocations: 98.98 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.008748, allocations: 35.72 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.008769, allocations: 0 / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.008792, allocations: 37.39 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.008794, allocations: 3.984 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002341/0.009028, allocations: 117.7 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.009055, allocations: 51.41 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.009186, allocations: 230.5 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.009199, allocations: 25.7 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.009273, allocations: 174.5 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.009297, allocations: 43.73 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.009343, allocations: 39.31 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.009462, allocations: 0.4962 MB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.009505, allocations: 12 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.009573, allocations: 82.34 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.00968, allocations: 86.75 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.009684, allocations: 4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001518/0.009836, allocations: 125.4 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.009851, allocations: 8 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.009856, allocations: 0 / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.009874, allocations: 3.938 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.009967, allocations: 31.92 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.009973, allocations: 0 / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.01002, allocations: 19.94 kB / 279.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01003, allocations: 4 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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 7.893e-05/0.01011, allocations: 156.7 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.01014, allocations: 19.91 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.01032, allocations: 122.9 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01032, allocations: 7.938 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01033, allocations: 0 / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01033, allocations: 0 / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.01049, allocations: 172.6 kB / 280.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01049, allocations: 4 kB / 280.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.01056, allocations: 23.97 kB / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01056, allocations: 0 / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01057, allocations: 0 / 280.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01057, allocations: 4 kB / 280.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01058, allocations: 7.938 kB / 280.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.01076, allocations: 255.8 kB / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.01079, allocations: 23.89 kB / 280.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.01081, allocations: 4 kB / 280.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.973e-05/0.01086, allocations: 7.984 kB / 280.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.0109, allocations: 11.92 kB / 280.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.01091, allocations: 4 kB / 280.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.01098, allocations: 164.8 kB / 280.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01098, allocations: 4 kB / 280.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.01116, allocations: 31.94 kB / 280.9 MB, free: 9.109 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 (11): * Single equations (assignments): 11 * 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.0001089/0.01127, allocations: 99.23 kB / 281 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.01142, allocations: 75.53 kB / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01142, allocations: 0 / 281.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.01147, allocations: 43.61 kB / 281.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.01212, allocations: 28.23 kB / 281.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.01297, allocations: 294.6 kB / 281.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.01303, allocations: 71.33 kB / 281.5 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.01312, allocations: 32.61 kB / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.01318, allocations: 16.5 kB / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01318, allocations: 0 / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of Templates: time 0.0104/0.02357, allocations: 1.59 MB / 283.2 MB, free: 6.836 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0503002982586622]