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.001338/0.001338, allocations: 120.5 kB / 18.41 MB, free: 4.656 MB / 14.72 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.001371/0.001371, allocations: 190.7 kB / 21.35 MB, free: 1.727 MB / 14.72 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.406/1.406, allocations: 222.9 MB / 247 MB, free: 4.34 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001636/0.001636, allocations: 43.92 kB / 358.6 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.0978, allocations: 49.45 MB / 408.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003052/0.1009, allocations: 1.621 MB / 409.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1023, allocations: 0.6426 MB / 410.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.1024, allocations: 0 / 410.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1027, allocations: 51.72 kB / 410.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1029, allocations: 35.78 kB / 410.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1042, allocations: 0.6069 MB / 411 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1045, allocations: 107.7 kB / 411.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1046, allocations: 25.11 kB / 411.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1048, allocations: 63.7 kB / 411.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.105, allocations: 79.72 kB / 411.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.105, allocations: 12 kB / 411.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1052, allocations: 131.8 kB / 411.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.1053, allocations: 39.83 kB / 411.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.1054, allocations: 51.67 kB / 411.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.1058, allocations: 227.2 kB / 411.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1058, allocations: 0 / 411.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1058, allocations: 3.938 kB / 411.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1058, allocations: 0 / 411.8 MB, free: 3.328 MB / 334.1 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.001543/0.1074, allocations: 0.5532 MB / 412.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1074, allocations: 12.03 kB / 412.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.1088, allocations: 176.6 kB / 412.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.109, allocations: 196.1 kB / 412.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.109, allocations: 8.375 kB / 412.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1091, allocations: 8.375 kB / 412.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1095, allocations: 185.8 kB / 412.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1095, allocations: 7.984 kB / 412.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1095, allocations: 0 / 412.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.1096, allocations: 8 kB / 412.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.11, allocations: 163.9 kB / 413.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.111, allocations: 0.5354 MB / 413.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.1115, allocations: 162.5 kB / 413.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.1117, allocations: 96.73 kB / 413.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.1117, allocations: 3.984 kB / 413.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1118, allocations: 42.75 kB / 413.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1118, allocations: 0 / 413.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007222/0.1125, allocations: 260.3 kB / 414.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1126, allocations: 63.33 kB / 414.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1128, allocations: 178.4 kB / 414.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1128, allocations: 33.7 kB / 414.4 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1129, allocations: 112.2 kB / 414.5 MB, free: 364 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.113, allocations: 43.64 kB / 414.6 MB, free: 320 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.113, allocations: 37.7 kB / 414.6 MB, free: 276 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1132, allocations: 326.8 kB / 414.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1134, allocations: 67.89 kB / 415 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.1136, allocations: 90.52 kB / 415.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.114, allocations: 170.5 kB / 415.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1141, allocations: 0 / 415.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004981/0.1146, allocations: 205.4 kB / 415.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1146, allocations: 7.938 kB / 415.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1146, allocations: 4 kB / 415.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1146, allocations: 0 / 415.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1149, allocations: 47.95 kB / 415.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1149, allocations: 7.984 kB / 415.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.115, allocations: 15.88 kB / 415.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1151, allocations: 4 kB / 415.5 MB, free: 15.31 MB / 350.1 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.0001262/0.1152, allocations: 138.4 kB / 415.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.1153, allocations: 15.84 kB / 415.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005996/0.1159, allocations: 254.8 kB / 415.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1159, allocations: 4 kB / 415.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1159, allocations: 3.984 kB / 416 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1159, allocations: 0 / 416 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.1162, allocations: 269.5 kB / 416.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1162, allocations: 0 / 416.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.1165, allocations: 43.89 kB / 416.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1165, allocations: 7.938 kB / 416.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1165, allocations: 4 kB / 416.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1165, allocations: 4 kB / 416.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1165, allocations: 0 / 416.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.1171, allocations: 317.5 kB / 416.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.1172, allocations: 104.8 kB / 416.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1172, allocations: 8 kB / 416.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1174, allocations: 8 kB / 416.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.1174, allocations: 15.97 kB / 416.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1175, allocations: 8 kB / 416.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1176, allocations: 144.2 kB / 416.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1176, allocations: 0 / 416.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1179, allocations: 35.94 kB / 416.9 MB, free: 13.85 MB / 350.1 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.0001506/0.1181, allocations: 107.2 kB / 417 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.1185, allocations: 179.7 kB / 417.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1185, allocations: 0 / 417.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1188, allocations: 95.88 kB / 417.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1191, allocations: 19.14 kB / 417.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.1197, allocations: 357 kB / 417.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1201, allocations: 0.7241 MB / 418.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.1202, allocations: 27.42 kB / 418.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1202, allocations: 0 / 418.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.004224/0.1244, allocations: 2.162 MB / 420.6 MB, free: 10.13 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.909870401024818]