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.001959/0.001959, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.002795/0.002795, allocations: 163.9 kB / 25.03 MB, free: 8.941 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.495/1.495, allocations: 158.6 MB / 186.8 MB, free: 2.922 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 3.005e-06/3.005e-06, allocations: 3.938 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.865e-05, allocations: 2.312 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003203/0.003242, allocations: 1.578 MB / 251.9 MB, free: 6.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.004716, allocations: 0.6668 MB / 252.6 MB, free: 5.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.004768, allocations: 0 / 252.6 MB, free: 5.594 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.005044, allocations: 47.72 kB / 252.6 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.005253, allocations: 35.72 kB / 252.7 MB, free: 5.512 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.006636, allocations: 0.599 MB / 253.3 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.006872, allocations: 111.7 kB / 253.4 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006989, allocations: 21.25 kB / 253.4 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.007206, allocations: 79.81 kB / 253.5 MB, free: 4.703 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.00738, allocations: 63.78 kB / 253.5 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.007416, allocations: 12 kB / 253.5 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.007684, allocations: 115.8 kB / 253.7 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.007766, allocations: 31.84 kB / 253.7 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.007837, allocations: 43.84 kB / 253.7 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.008301, allocations: 231.3 kB / 254 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.008305, allocations: 0 / 254 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.008307, allocations: 0 / 254 MB, free: 4.215 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.008318, allocations: 4 kB / 254 MB, free: 4.211 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.001763/0.01008, allocations: 0.597 MB / 254.6 MB, free: 3.578 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.01013, allocations: 11.98 kB / 254.6 MB, free: 3.566 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.01157, allocations: 204.5 kB / 254.8 MB, free: 3.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.01184, allocations: 152.4 kB / 254.9 MB, free: 3.191 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.01186, allocations: 8.375 kB / 254.9 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.01189, allocations: 12.31 kB / 254.9 MB, free: 3.172 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.01227, allocations: 162 kB / 255.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01228, allocations: 192 / 255.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.0123, allocations: 4.375 kB / 255.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.01233, allocations: 11.88 kB / 255.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.01268, allocations: 135.9 kB / 255.2 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01388, allocations: 0.4953 MB / 255.7 MB, free: 2.324 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.01425, allocations: 150.9 kB / 255.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.01443, allocations: 83.64 kB / 256 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.01446, allocations: 0 / 256 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.01449, allocations: 37.39 kB / 256 MB, free: 2.031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.0145, allocations: 0 / 256 MB, free: 2.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006311/0.01513, allocations: 217.8 kB / 256.2 MB, free: 1.812 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.01519, allocations: 63.28 kB / 256.3 MB, free: 1.738 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01541, allocations: 218.4 kB / 256.5 MB, free: 1.508 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.01544, allocations: 29.7 kB / 256.5 MB, free: 1.473 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01556, allocations: 170.7 kB / 256.7 MB, free: 1.301 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.01561, allocations: 47.64 kB / 256.7 MB, free: 1.254 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.0157, allocations: 43.34 kB / 256.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.01598, allocations: 0.5001 MB / 257.3 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.01612, allocations: 51.97 kB / 257.3 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.0163, allocations: 79.03 kB / 257.4 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.01662, allocations: 154.9 kB / 257.6 MB, free: 396 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01663, allocations: 4 kB / 257.6 MB, free: 392 kB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004235/0.01705, allocations: 181.5 kB / 257.7 MB, free: 204 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.01707, allocations: 8 kB / 257.7 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01707, allocations: 0 / 257.7 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01709, allocations: 3.938 kB / 257.8 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.01731, allocations: 35.97 kB / 257.8 MB, free: 156 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01732, allocations: 0 / 257.8 MB, free: 156 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01744, allocations: 23.88 kB / 257.8 MB, free: 132 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.01746, allocations: 4 kB / 257.8 MB, free: 128 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 0.0001786/0.01764, allocations: 188.5 kB / 258 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.01769, allocations: 15.89 kB / 258 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/0.01823, allocations: 214.2 kB / 258.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.01824, allocations: 7.938 kB / 258.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01824, allocations: 0 / 258.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01824, allocations: 0 / 258.2 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.01855, allocations: 216.5 kB / 258.4 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01855, allocations: 0 / 258.4 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.01877, allocations: 35.91 kB / 258.5 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.01878, allocations: 4 kB / 258.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01879, allocations: 4 kB / 258.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01879, allocations: 0 / 258.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.0188, allocations: 3.938 kB / 258.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.01932, allocations: 351.2 kB / 258.8 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.01935, allocations: 15.84 kB / 258.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.01937, allocations: 3.938 kB / 258.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.01951, allocations: 11.98 kB / 258.9 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.01958, allocations: 23.91 kB / 258.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.01959, allocations: 4 kB / 258.9 MB, free: 14.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.01973, allocations: 159.3 kB / 259 MB, free: 14.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01973, allocations: 4 kB / 259 MB, free: 14.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.02, allocations: 27.95 kB / 259.1 MB, free: 14.79 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.0001615/0.02016, allocations: 103.2 kB / 259.2 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.02057, allocations: 154.4 kB / 259.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02057, allocations: 4.125 kB / 259.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.02078, allocations: 95.58 kB / 259.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.02106, allocations: 23.5 kB / 259.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.02176, allocations: 321.9 kB / 259.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.0219, allocations: 111.4 kB / 259.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.02202, allocations: 33.11 kB / 259.9 MB, free: 13.9 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.0221, allocations: 24.48 kB / 259.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02211, allocations: 3.938 kB / 259.9 MB, free: 13.88 MB / 250.7 MB Notification: Performance of Templates: time 0.006288/0.02839, allocations: 1.892 MB / 261.8 MB, free: 12 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","/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.601652861922048]