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.002076/0.002076, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.002225/0.002225, allocations: 164 kB / 25.02 MB, free: 8.895 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 1.649/1.649, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 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 2.595e-06/2.595e-06, allocations: 0 / 250.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.845e-05, allocations: 5.828 kB / 250.3 MB, free: 7.875 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003005/0.003043, allocations: 1.574 MB / 251.9 MB, free: 6.289 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.004511, allocations: 0.6513 MB / 252.6 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.004568, allocations: 4 kB / 252.6 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.004863, allocations: 51.64 kB / 252.6 MB, free: 5.574 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005101, allocations: 31.8 kB / 252.6 MB, free: 5.543 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.006494, allocations: 0.5834 MB / 253.2 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.006726, allocations: 111.7 kB / 253.3 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006838, allocations: 25.23 kB / 253.4 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.007117, allocations: 79.75 kB / 253.4 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.007285, allocations: 59.86 kB / 253.5 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.007318, allocations: 15.94 kB / 253.5 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.00756, allocations: 115.8 kB / 253.6 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.007629, allocations: 31.91 kB / 253.7 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.007701, allocations: 35.84 kB / 253.7 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.008116, allocations: 231.3 kB / 253.9 MB, free: 4.266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.00812, allocations: 0 / 253.9 MB, free: 4.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008122, allocations: 0 / 253.9 MB, free: 4.266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008127, allocations: 0 / 253.9 MB, free: 4.266 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.001666/0.009793, allocations: 0.4935 MB / 254.4 MB, free: 3.738 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.009832, allocations: 11.98 kB / 254.4 MB, free: 3.727 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.01135, allocations: 208.5 kB / 254.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.01159, allocations: 161.5 kB / 254.8 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.01161, allocations: 12.31 kB / 254.8 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.01164, allocations: 4.375 kB / 254.8 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.01208, allocations: 182 kB / 255 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.01209, allocations: 192 / 255 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.01211, allocations: 4.375 kB / 255 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.01214, allocations: 7.938 kB / 255 MB, free: 3.129 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.0126, allocations: 163.9 kB / 255.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01361, allocations: 448 kB / 255.6 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.01407, allocations: 154.4 kB / 255.7 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.01432, allocations: 88.8 kB / 255.8 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.01436, allocations: 4 kB / 255.8 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.0144, allocations: 30.56 kB / 255.9 MB, free: 2.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.0144, allocations: 4 kB / 255.9 MB, free: 2.203 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008772/0.01528, allocations: 268.5 kB / 256.1 MB, free: 1.938 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.01534, allocations: 59.33 kB / 256.2 MB, free: 1.867 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.01556, allocations: 158.3 kB / 256.3 MB, free: 1.703 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.01559, allocations: 25.7 kB / 256.4 MB, free: 1.672 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.01571, allocations: 119.9 kB / 256.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.01577, allocations: 39.64 kB / 256.5 MB, free: 1.512 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.01586, allocations: 33.7 kB / 256.5 MB, free: 1.473 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.01607, allocations: 326.8 kB / 256.9 MB, free: 1.145 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.01628, allocations: 63.95 kB / 256.9 MB, free: 1.082 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.01652, allocations: 94.52 kB / 257 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.01698, allocations: 166.4 kB / 257.2 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01699, allocations: 0 / 257.2 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005736/0.01756, allocations: 217.5 kB / 257.4 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.01758, allocations: 4 kB / 257.4 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01759, allocations: 0 / 257.4 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.01763, allocations: 7.938 kB / 257.4 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.0179, allocations: 35.97 kB / 257.4 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.01791, allocations: 7.875 kB / 257.4 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01807, allocations: 23.88 kB / 257.5 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.01809, allocations: 8.047 kB / 257.5 MB, free: 0.5039 MB / 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 0.0001602/0.01825, allocations: 125.8 kB / 257.6 MB, free: 380 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.01831, allocations: 19.91 kB / 257.6 MB, free: 360 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.01899, allocations: 242.2 kB / 257.9 MB, free: 108 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.019, allocations: 11.92 kB / 257.9 MB, free: 96 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.01901, allocations: 3.938 kB / 257.9 MB, free: 92 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01901, allocations: 0 / 257.9 MB, free: 92 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.0194, allocations: 197.3 kB / 258.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01941, allocations: 4 kB / 258.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.01964, allocations: 35.97 kB / 258.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01965, allocations: 0 / 258.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.01967, allocations: 7.984 kB / 258.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01967, allocations: 0 / 258.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.01968, allocations: 3.938 kB / 258.1 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.02031, allocations: 322.7 kB / 258.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.02034, allocations: 19.84 kB / 258.5 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.02037, allocations: 4 kB / 258.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.02054, allocations: 11.98 kB / 258.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.02062, allocations: 23.89 kB / 258.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.02064, allocations: 4 kB / 258.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.02075, allocations: 123.4 kB / 258.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02075, allocations: 0 / 258.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.02105, allocations: 31.95 kB / 258.6 MB, free: 15.27 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.0001932/0.02125, allocations: 107.2 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.02176, allocations: 163.6 kB / 258.9 MB, free: 15 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.02177, allocations: 0 / 258.9 MB, free: 15 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.022, allocations: 91.88 kB / 259 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.02233, allocations: 19.98 kB / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.02311, allocations: 328 kB / 259.3 MB, free: 14.55 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.02326, allocations: 119.5 kB / 259.5 MB, free: 14.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.02339, allocations: 29.14 kB / 259.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.772e-05/0.02349, allocations: 24.42 kB / 259.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02349, allocations: 0 / 259.5 MB, free: 14.36 MB / 250.7 MB Notification: Performance of Templates: time 0.006273/0.02976, allocations: 1.902 MB / 261.4 MB, free: 12.47 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=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.702413822058588]