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.0009744/0.0009744, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009376/0.0009376, allocations: 143.9 kB / 24.97 MB, free: 8.855 MB / 18.57 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 1.042/1.042, allocations: 173.3 MB / 201.5 MB, free: 9.293 MB / 186.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.593e-06/1.593e-06, allocations: 3.938 kB / 268 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.727e-05, allocations: 6.25 kB / 268 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001961/0.001989, allocations: 1.656 MB / 269.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.002803, allocations: 0.6308 MB / 270.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.002854, allocations: 4 kB / 270.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.003087, allocations: 51.7 kB / 270.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.003239, allocations: 39.67 kB / 270.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.003953, allocations: 0.5561 MB / 271 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.004125, allocations: 115.7 kB / 271.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.004214, allocations: 13.31 kB / 271.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.004358, allocations: 87.78 kB / 271.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.004481, allocations: 63.8 kB / 271.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.004501, allocations: 8 kB / 271.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.004627, allocations: 99.8 kB / 271.3 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.004679, allocations: 43.83 kB / 271.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.004718, allocations: 31.91 kB / 271.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.00497, allocations: 199.3 kB / 271.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004972, allocations: 0 / 271.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004973, allocations: 0 / 271.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004977, allocations: 0 / 271.6 MB, free: 3.121 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.0009075/0.005885, allocations: 0.574 MB / 272.2 MB, free: 2.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.005918, allocations: 8.922 kB / 272.2 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/0.006662, allocations: 192.5 kB / 272.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.006822, allocations: 164.3 kB / 272.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006839, allocations: 12.23 kB / 272.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.006859, allocations: 16.36 kB / 272.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.007075, allocations: 126.9 kB / 272.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.007082, allocations: 192 / 272.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.0071, allocations: 8.375 kB / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.007128, allocations: 7.938 kB / 272.7 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.007255, allocations: 79.94 kB / 272.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.007818, allocations: 459.3 kB / 273.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.008005, allocations: 115 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.702e-05/0.008072, allocations: 35.67 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.008092, allocations: 15.92 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.008112, allocations: 41.39 kB / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.008114, allocations: 0 / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002716/0.008386, allocations: 137.3 kB / 273.6 MB, free: 1.023 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.008413, allocations: 63.28 kB / 273.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.008526, allocations: 212.7 kB / 273.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.008539, allocations: 25.7 kB / 273.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.008605, allocations: 166.7 kB / 274 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.008636, allocations: 55.53 kB / 274.1 MB, free: 484 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.008682, allocations: 35.36 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.008822, allocations: 0.5001 MB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.008882, allocations: 27.97 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.008958, allocations: 55.05 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.009091, allocations: 94.97 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009093, allocations: 0 / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001907/0.009284, allocations: 129.5 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.0093, allocations: 7.984 kB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.009306, allocations: 4 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.009323, allocations: 3.938 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.009453, allocations: 36.03 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.009458, allocations: 0 / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.009511, allocations: 11.95 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.009523, allocations: 11.98 kB / 275 MB, free: 15.51 MB / 266.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 7.561e-05/0.009598, allocations: 168.5 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.009624, allocations: 11.95 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.009871, allocations: 169.3 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.009874, allocations: 3.938 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.009878, allocations: 0 / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009881, allocations: 4 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.01004, allocations: 184.6 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01004, allocations: 3.984 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.01014, allocations: 35.92 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01014, allocations: 0 / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01016, allocations: 11.92 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01016, allocations: 4 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01016, allocations: 3.938 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.01038, allocations: 295.6 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.01039, allocations: 15.84 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.01041, allocations: 4 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.01047, allocations: 11.98 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.01052, allocations: 19.91 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01053, allocations: 8 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.908e-05/0.01059, allocations: 150.3 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01059, allocations: 0 / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.01076, allocations: 39.89 kB / 276.1 MB, free: 14.32 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 (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.0001156/0.01088, allocations: 99.25 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.01106, allocations: 107 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01106, allocations: 0 / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.01113, allocations: 65.77 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.01133, allocations: 19.94 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.01194, allocations: 310.7 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.01198, allocations: 75.83 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.698e-05/0.01205, allocations: 25.14 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01211, allocations: 32.47 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01211, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Templates: time 0.003549/0.01566, allocations: 1.904 MB / 278.7 MB, free: 11.66 MB / 266.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 -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.953984580002725]