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.001066/0.001066, allocations: 85.95 kB / 23 MB, free: 1.504 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.001052/0.001052, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.06/1.06, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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 1.603e-06/1.603e-06, allocations: 3.938 kB / 252.2 MB, free: 7.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.861e-05, allocations: 10.25 kB / 252.2 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003592/0.003621, allocations: 1.606 MB / 253.8 MB, free: 5.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.005311, allocations: 0.659 MB / 254.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.005433, allocations: 0 / 254.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.005793, allocations: 51.66 kB / 254.5 MB, free: 4.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.006033, allocations: 47.64 kB / 254.6 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.00722, allocations: 0.5874 MB / 255.2 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.007532, allocations: 107.7 kB / 255.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.007655, allocations: 25.3 kB / 255.3 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.007839, allocations: 71.81 kB / 255.4 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.008, allocations: 59.86 kB / 255.4 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.008026, allocations: 15.94 kB / 255.4 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.008314, allocations: 119.8 kB / 255.6 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.008402, allocations: 27.92 kB / 255.6 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.008461, allocations: 39.84 kB / 255.6 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.008814, allocations: 203.4 kB / 255.8 MB, free: 3.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.008817, allocations: 0 / 255.8 MB, free: 3.66 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.008818, allocations: 0 / 255.8 MB, free: 3.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.008823, allocations: 0 / 255.8 MB, free: 3.66 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.001431/0.01025, allocations: 0.5894 MB / 256.4 MB, free: 3.035 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.0103, allocations: 11.98 kB / 256.4 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/0.01114, allocations: 212.5 kB / 256.6 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.01135, allocations: 152.4 kB / 256.8 MB, free: 2.641 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.01138, allocations: 12.23 kB / 256.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.0114, allocations: 8.375 kB / 256.8 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.01163, allocations: 122.8 kB / 256.9 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01164, allocations: 192 / 256.9 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.01165, allocations: 8.375 kB / 256.9 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.01168, allocations: 7.938 kB / 256.9 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.01177, allocations: 51.95 kB / 257 MB, free: 2.426 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.01235, allocations: 447.8 kB / 257.4 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.01252, allocations: 98.94 kB / 257.5 MB, free: 1.852 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.01257, allocations: 39.66 kB / 257.6 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.0126, allocations: 4 kB / 257.6 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.01263, allocations: 33.39 kB / 257.6 MB, free: 1.762 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.01263, allocations: 4 kB / 257.6 MB, free: 1.758 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002827/0.01291, allocations: 132.6 kB / 257.7 MB, free: 1.625 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.01297, allocations: 59.39 kB / 257.8 MB, free: 1.551 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01311, allocations: 206.4 kB / 258 MB, free: 1.332 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.01314, allocations: 29.7 kB / 258 MB, free: 1.297 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01326, allocations: 174.6 kB / 258.2 MB, free: 1.121 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.01329, allocations: 39.64 kB / 258.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.01335, allocations: 43.34 kB / 258.3 MB, free: 1.031 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.01352, allocations: 0.4962 MB / 258.8 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.01357, allocations: 15.98 kB / 258.8 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.01364, allocations: 58.62 kB / 258.8 MB, free: 452 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.01375, allocations: 86.91 kB / 258.9 MB, free: 352 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01376, allocations: 0 / 258.9 MB, free: 352 kB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001959/0.01395, allocations: 133.3 kB / 259.1 MB, free: 216 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01397, allocations: 4 kB / 259.1 MB, free: 212 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01397, allocations: 0 / 259.1 MB, free: 212 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.01398, allocations: 0 / 259.1 MB, free: 212 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.0141, allocations: 35.91 kB / 259.1 MB, free: 176 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01411, allocations: 7.938 kB / 259.1 MB, free: 168 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.01417, allocations: 11.95 kB / 259.1 MB, free: 156 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.01418, allocations: 7.984 kB / 259.1 MB, free: 148 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 9.718e-05/0.01428, allocations: 156.6 kB / 259.3 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.01431, allocations: 19.97 kB / 259.3 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.01452, allocations: 154.2 kB / 259.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01452, allocations: 4 kB / 259.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01453, allocations: 7.875 kB / 259.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01453, allocations: 0 / 259.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.01469, allocations: 161.1 kB / 259.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01469, allocations: 0 / 259.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.01479, allocations: 35.98 kB / 259.6 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.01479, allocations: 7.969 kB / 259.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.0148, allocations: 0 / 259.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01481, allocations: 8 kB / 259.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01481, allocations: 0 / 259.7 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.01502, allocations: 290.8 kB / 259.9 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.01504, allocations: 15.89 kB / 260 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01506, allocations: 4 kB / 260 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.01513, allocations: 7.984 kB / 260 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.01517, allocations: 15.97 kB / 260 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.01518, allocations: 4 kB / 260 MB, free: 15.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.01524, allocations: 155.2 kB / 260.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01524, allocations: 0 / 260.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.01542, allocations: 27.95 kB / 260.2 MB, free: 15.03 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.0001267/0.01555, allocations: 103.2 kB / 260.3 MB, free: 14.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01571, allocations: 91.5 kB / 260.4 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01572, allocations: 0 / 260.4 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.01578, allocations: 59.58 kB / 260.4 MB, free: 14.76 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01601, allocations: 16.12 kB / 260.4 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.01661, allocations: 309.5 kB / 260.7 MB, free: 14.42 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.266e-05/0.01667, allocations: 79.81 kB / 260.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.756e-05/0.01673, allocations: 21.14 kB / 260.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.01684, allocations: 90.19 kB / 260.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01684, allocations: 0 / 260.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of Templates: time 0.004213/0.02105, allocations: 2.106 MB / 263 MB, free: 12.11 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","",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.8883998580276966]