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.0009485/0.0009485, allocations: 79.91 kB / 21.18 MB, free: 3.395 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.001206/0.001206, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9733/0.9733, allocations: 173.3 MB / 201.1 MB, free: 9.359 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.693e-06/1.693e-06, allocations: 0 / 268 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.681e-05, allocations: 2.312 kB / 268 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002058/0.002085, allocations: 1.648 MB / 269.6 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.002909, allocations: 0.6386 MB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.00295, allocations: 4 kB / 270.2 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.003165, allocations: 51.7 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.003319, allocations: 31.73 kB / 270.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.004122, allocations: 0.5717 MB / 270.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.004284, allocations: 115.6 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.004372, allocations: 13.31 kB / 271 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.004499, allocations: 79.8 kB / 271.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.004615, allocations: 63.84 kB / 271.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004634, allocations: 12 kB / 271.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.00479, allocations: 103.7 kB / 271.3 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.00484, allocations: 39.89 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.004886, allocations: 39.84 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.005128, allocations: 195.4 kB / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005131, allocations: 0 / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005131, allocations: 0 / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005136, allocations: 0 / 271.5 MB, free: 2.875 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.0008698/0.006006, allocations: 0.5701 MB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.00604, allocations: 16.91 kB / 272.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.006738, allocations: 188.6 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.006898, allocations: 164.3 kB / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.006913, allocations: 12.23 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.006932, allocations: 8.375 kB / 272.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.007141, allocations: 134.8 kB / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00715, allocations: 192 / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.007163, allocations: 4.375 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.007187, allocations: 7.938 kB / 272.6 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.007307, allocations: 75.94 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.007873, allocations: 467.3 kB / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.008048, allocations: 111 kB / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.008112, allocations: 43.67 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.008134, allocations: 7.984 kB / 273.3 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.008153, allocations: 33.39 kB / 273.4 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.008154, allocations: 0 / 273.4 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002676/0.008422, allocations: 137.8 kB / 273.5 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.008448, allocations: 59.34 kB / 273.6 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.008552, allocations: 212.8 kB / 273.8 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.008566, allocations: 37.64 kB / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.008649, allocations: 158.7 kB / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.008677, allocations: 55.52 kB / 274 MB, free: 240 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.008724, allocations: 39.36 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.008837, allocations: 0.4962 MB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.008891, allocations: 27.97 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.008953, allocations: 51.05 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.009075, allocations: 102 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009078, allocations: 0 / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001738/0.009251, allocations: 137.5 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.009265, allocations: 4 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.00927, allocations: 0 / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.009287, allocations: 7.938 kB / 274.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.009418, allocations: 31.91 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.009425, allocations: 4 kB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.009476, allocations: 15.95 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.009487, allocations: 7.984 kB / 274.9 MB, free: 15.27 MB / 266.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.717e-05/0.009564, allocations: 164.6 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.009593, allocations: 15.95 kB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.009833, allocations: 169.2 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.009837, allocations: 7.938 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009841, allocations: 0 / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.009844, allocations: 0 / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.009999, allocations: 184.6 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01, allocations: 4 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01011, allocations: 35.92 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01011, allocations: 3.984 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01012, allocations: 8 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01012, allocations: 0 / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01012, allocations: 3.938 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.01033, allocations: 291.7 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.01035, allocations: 19.84 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01037, allocations: 4 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.01043, allocations: 7.984 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.01048, allocations: 23.84 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.01049, allocations: 4 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.15e-05/0.01056, allocations: 158.2 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.01074, allocations: 31.95 kB / 276 MB, free: 14.09 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 (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.0001147/0.01085, allocations: 103.2 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.01102, allocations: 103.5 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01103, allocations: 0 / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.0111, allocations: 69.89 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.0113, allocations: 19.98 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.01189, allocations: 294.7 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.01193, allocations: 79.77 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.012, allocations: 33.06 kB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.01206, allocations: 24.48 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01206, allocations: 0 / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of Templates: time 0.003681/0.01574, allocations: 1.915 MB / 278.7 MB, free: 11.42 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: 3.0556643176823854]