Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001026/0.001026, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001078/0.001078, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9619/0.9619, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.12e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002281/0.002303, allocations: 1.77 MB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003377, allocations: 0.7435 MB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.003447, allocations: 4 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.003699, allocations: 55.64 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.003866, allocations: 39.66 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.004591, allocations: 497.8 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.004805, allocations: 119.5 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.004896, allocations: 30.38 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004998, allocations: 79.73 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.005196, allocations: 71.84 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.005227, allocations: 8 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.005488, allocations: 123.8 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.00554, allocations: 35.89 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.005579, allocations: 39.84 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.005817, allocations: 191.4 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005819, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00582, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.005823, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.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.0006884/0.006512, allocations: 439.9 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.006549, allocations: 8.031 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004283/0.006977, allocations: 120.8 kB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.007133, allocations: 142.4 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.00715, allocations: 8.375 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.007163, allocations: 8.375 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.007373, allocations: 117.6 kB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007384, allocations: 192 / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.007401, allocations: 8.375 kB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.007434, allocations: 7.938 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.007514, allocations: 47.97 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.008064, allocations: 330.6 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.008235, allocations: 126.9 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.008269, allocations: 27.66 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.008288, allocations: 0 / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.008312, allocations: 38.56 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.008314, allocations: 0 / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001575/0.008471, allocations: 81.8 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.008503, allocations: 55.34 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.008603, allocations: 163.3 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.008616, allocations: 33.69 kB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.008669, allocations: 123.8 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.008687, allocations: 31.73 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.008726, allocations: 29.66 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.324e-05/0.008809, allocations: 330.7 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/0.008835, allocations: 14.81 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.008876, allocations: 52.22 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.008957, allocations: 79.02 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008959, allocations: 0 / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001058/0.009065, allocations: 92.73 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.009079, allocations: 8 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.009084, allocations: 0 / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.009096, allocations: 4 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.00919, allocations: 28.11 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.009195, allocations: 11.88 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.00924, allocations: 15.94 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.009248, allocations: 4 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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.139e-05/0.009309, allocations: 116.6 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.009333, allocations: 11.98 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.009449, allocations: 91.05 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009451, allocations: 4 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.009454, allocations: 3.938 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.009457, allocations: 4 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.009566, allocations: 105.8 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.009569, allocations: 4 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.00963, allocations: 19.98 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.009632, allocations: 3.938 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.009638, allocations: 0 / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00964, allocations: 7.984 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009641, allocations: 0 / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.009762, allocations: 222.2 kB / 280.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.009793, allocations: 15.89 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.009806, allocations: 8 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.009851, allocations: 4 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.009885, allocations: 7.984 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.00989, allocations: 4 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.00992, allocations: 46.44 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00992, allocations: 0 / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.01006, allocations: 31.88 kB / 280.5 MB, free: 9.984 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 (11): * Single equations (assignments): 11 * 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 9.989e-05/0.01016, allocations: 88.41 kB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.01025, allocations: 64.75 kB / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01026, allocations: 0 / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.01029, allocations: 32.78 kB / 280.7 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01046, allocations: 20.27 kB / 280.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.01098, allocations: 298.8 kB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.01102, allocations: 71.33 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.01106, allocations: 24.41 kB / 281.1 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.01113, allocations: 75.38 kB / 281.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01113, allocations: 4 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of Templates: time 0.003097/0.01423, allocations: 1.706 MB / 282.8 MB, free: 7.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.486412254627794]