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.0007619/0.0007619, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001818, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001021/0.001021, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002404, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9226/0.9226, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09642/1.019, allocations: 52.5 MB / 238.3 MB, free: 4.414 MB / 234.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.553e-06/1.553e-06, allocations: 3.938 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.538e-05, allocations: 10.25 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002162/0.002187, allocations: 1.695 MB / 241.2 MB, free: 1.484 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.00303, allocations: 0.6401 MB / 241.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.00309, allocations: 0 / 241.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.00326, allocations: 67.52 kB / 241.9 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.003386, allocations: 39.72 kB / 242 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.00416, allocations: 0.5561 MB / 242.5 MB, free: 180 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.004362, allocations: 115.6 kB / 242.6 MB, free: 64 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.00445, allocations: 25.89 kB / 242.7 MB, free: 36 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.004617, allocations: 95.89 kB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.004822, allocations: 71.78 kB / 242.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.004841, allocations: 12 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.00502, allocations: 95.92 kB / 242.9 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.996e-05/0.00506, allocations: 23.88 kB / 243 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.005095, allocations: 23.94 kB / 243 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.005335, allocations: 175.3 kB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.005345, allocations: 7.938 kB / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005347, allocations: 0 / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.005359, allocations: 0 / 243.2 MB, free: 15.54 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.0008626/0.006221, allocations: 0.5515 MB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.006256, allocations: 12.03 kB / 243.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006606/0.006916, allocations: 196.7 kB / 243.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.00707, allocations: 141.5 kB / 244 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.007087, allocations: 8.375 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.007101, allocations: 8.375 kB / 244.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.00729, allocations: 133.5 kB / 244.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.007296, allocations: 192 / 244.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.007309, allocations: 12.36 kB / 244.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.00733, allocations: 11.94 kB / 244.2 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.00741, allocations: 51.91 kB / 244.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.007843, allocations: 318.6 kB / 244.6 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.007986, allocations: 132.1 kB / 244.7 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.008026, allocations: 35.67 kB / 244.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.008044, allocations: 4 kB / 244.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.008067, allocations: 30.56 kB / 244.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.008068, allocations: 0 / 244.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001705/0.008238, allocations: 105.6 kB / 244.9 MB, free: 13.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.008266, allocations: 55.66 kB / 244.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.008345, allocations: 145.6 kB / 245.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.008358, allocations: 29.7 kB / 245.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.008414, allocations: 115.9 kB / 245.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.008436, allocations: 39.64 kB / 245.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.008478, allocations: 37.69 kB / 245.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.008544, allocations: 318.8 kB / 245.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.008577, allocations: 22.81 kB / 245.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.008616, allocations: 46.42 kB / 245.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.008697, allocations: 85.28 kB / 245.8 MB, free: 12.74 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.008699, allocations: 0 / 245.8 MB, free: 12.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001095/0.008808, allocations: 100.2 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.008821, allocations: 4 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.008826, allocations: 0 / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.008836, allocations: 4 kB / 245.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.008959, allocations: 39.89 kB / 245.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008964, allocations: 8 kB / 245.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.00901, allocations: 19.94 kB / 245.9 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.009019, allocations: 8 kB / 245.9 MB, free: 12.56 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 6.37e-05/0.009083, allocations: 112.7 kB / 246 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.009104, allocations: 11.98 kB / 246.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.009262, allocations: 126.3 kB / 246.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.009268, allocations: 7.969 kB / 246.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009271, allocations: 7.938 kB / 246.2 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009275, allocations: 0 / 246.2 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.009555, allocations: 125.8 kB / 246.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009556, allocations: 0 / 246.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.009659, allocations: 43.95 kB / 246.4 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.009678, allocations: 11.89 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.00968, allocations: 0 / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.00969, allocations: 7.984 kB / 246.4 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.009693, allocations: 4 kB / 246.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009694, allocations: 0 / 246.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.009844, allocations: 252.5 kB / 246.6 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.00986, allocations: 4 kB / 246.6 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.009915, allocations: 8 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.009949, allocations: 15.97 kB / 246.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.009956, allocations: 3.984 kB / 246.7 MB, free: 11.78 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.824e-05/0.009985, allocations: 40.14 kB / 246.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009985, allocations: 0 / 246.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.01013, allocations: 28 kB / 246.7 MB, free: 11.71 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.0001068/0.01024, allocations: 96.34 kB / 246.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01036, allocations: 68.75 kB / 246.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01036, allocations: 0 / 246.9 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.01041, allocations: 52.7 kB / 246.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.01057, allocations: 27.92 kB / 247 MB, free: 11.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.01133, allocations: 308 kB / 247.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.01137, allocations: 75.83 kB / 247.3 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.01143, allocations: 21.14 kB / 247.4 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.01152, allocations: 75.34 kB / 247.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01152, allocations: 0 / 247.4 MB, free: 10.94 MB / 250.7 MB Notification: Performance of Templates: time 0.003666/0.01519, allocations: 2.057 MB / 249.5 MB, free: 8.898 MB / 250.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 -ignoreHideResult -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.3817624989897013]