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.001817/0.001817, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001644/0.001644, allocations: 145.2 kB / 25.59 MB, free: 8.918 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 0.9696/0.9696, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.322e-06/1.322e-06, allocations: 0 / 269.1 MB, free: 9.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.022e-05, allocations: 5.266 kB / 269.2 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002041/0.002061, allocations: 1.652 MB / 270.8 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.002941, allocations: 0.6141 MB / 271.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.003001, allocations: 4 kB / 271.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.003225, allocations: 55.64 kB / 271.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.003391, allocations: 32.95 kB / 271.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.004136, allocations: 0.558 MB / 272.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004318, allocations: 115.6 kB / 272.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.004408, allocations: 26.2 kB / 272.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.004535, allocations: 79.8 kB / 272.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.00466, allocations: 66.27 kB / 272.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.004677, allocations: 11.94 kB / 272.4 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.004843, allocations: 95.86 kB / 272.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.004893, allocations: 43.83 kB / 272.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.004928, allocations: 35.91 kB / 272.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.005168, allocations: 195.3 kB / 272.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00517, allocations: 0 / 272.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005171, allocations: 0.9062 kB / 272.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.005174, allocations: 0 / 272.7 MB, free: 6.27 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.0008522/0.006027, allocations: 0.5763 MB / 273.3 MB, free: 5.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.006056, allocations: 9.312 kB / 273.3 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007211/0.006777, allocations: 185.1 kB / 273.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.00719, allocations: 160.3 kB / 273.6 MB, free: 5.289 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.007206, allocations: 8.234 kB / 273.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.007221, allocations: 8.375 kB / 273.7 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.00741, allocations: 127.3 kB / 273.8 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.007417, allocations: 192 / 273.8 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.00743, allocations: 4.375 kB / 273.8 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.007453, allocations: 19.88 kB / 273.8 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.007536, allocations: 51.95 kB / 273.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.008032, allocations: 443.8 kB / 274.3 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.008171, allocations: 95.02 kB / 274.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.008218, allocations: 39.66 kB / 274.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.008235, allocations: 4 kB / 274.4 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.008261, allocations: 41.33 kB / 274.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.008262, allocations: 4 kB / 274.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002275/0.00849, allocations: 128.8 kB / 274.6 MB, free: 4.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.008516, allocations: 51.41 kB / 274.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.008615, allocations: 211.8 kB / 274.9 MB, free: 3.984 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.008631, allocations: 29.7 kB / 274.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.008699, allocations: 170.6 kB / 275.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.008727, allocations: 51.53 kB / 275.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.008776, allocations: 43.34 kB / 275.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.00889, allocations: 0.5001 MB / 275.6 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.008928, allocations: 15.98 kB / 275.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.008981, allocations: 58.97 kB / 275.7 MB, free: 3.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/0.00908, allocations: 79.03 kB / 275.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.009082, allocations: 0 / 275.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001563/0.009239, allocations: 117.5 kB / 275.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.009252, allocations: 4 kB / 275.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.009266, allocations: 4 kB / 275.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.009274, allocations: 0 / 275.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.009396, allocations: 43.84 kB / 276 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.009399, allocations: 4.062 kB / 276 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.009452, allocations: 7.953 kB / 276 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.009462, allocations: 7.984 kB / 276 MB, free: 2.797 MB / 250.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 7.771e-05/0.00954, allocations: 160.6 kB / 276.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.009574, allocations: 19.89 kB / 276.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.009773, allocations: 150.3 kB / 276.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.009775, allocations: 0 / 276.3 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.009777, allocations: 3.938 kB / 276.3 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.009782, allocations: 4 kB / 276.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.009937, allocations: 165.2 kB / 276.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009938, allocations: 0 / 276.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.01004, allocations: 35.91 kB / 276.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01005, allocations: 4 kB / 276.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01005, allocations: 4 kB / 276.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01006, allocations: 0 / 276.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01006, allocations: 0 / 276.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.01025, allocations: 289.8 kB / 276.8 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01027, allocations: 15.84 kB / 276.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01029, allocations: 0 / 276.8 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.01035, allocations: 15.98 kB / 276.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.01039, allocations: 19.91 kB / 276.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.0104, allocations: 4 kB / 276.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.01045, allocations: 149.3 kB / 277 MB, free: 1.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01045, allocations: 0 / 277 MB, free: 1.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01063, allocations: 28 kB / 277 MB, free: 1.691 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.0001077/0.01074, allocations: 123.1 kB / 277.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.01088, allocations: 90.97 kB / 277.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01088, allocations: 0 / 277.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.01094, allocations: 58.23 kB / 277.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.01115, allocations: 23.25 kB / 277.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.01165, allocations: 298.8 kB / 277.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.342e-05/0.01169, allocations: 75.83 kB / 277.7 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.01175, allocations: 21.14 kB / 277.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.01185, allocations: 94.19 kB / 277.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01185, allocations: 0 / 277.8 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of Templates: time 0.003806/0.01566, allocations: 2.109 MB / 279.9 MB, free: 14.79 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.8111006733961403]