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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 103.2 kB / 17.59 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 50.58 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1008, allocations: 49.45 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003402/0.1043, allocations: 1.627 MB / 352.3 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1057, allocations: 0.6402 MB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1059, allocations: 4 kB / 353 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1062, allocations: 59.7 kB / 353.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1065, allocations: 27.8 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1079, allocations: 0.602 MB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1081, allocations: 115.7 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1083, allocations: 29.11 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.1085, allocations: 59.77 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1087, allocations: 75.67 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.1088, allocations: 12 kB / 354 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.109, allocations: 139.8 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.1092, allocations: 39.83 kB / 354.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.89e-05/0.1092, allocations: 51.67 kB / 354.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.1097, allocations: 211.4 kB / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.1097, allocations: 4 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.1097, allocations: 4 kB / 354.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1097, allocations: 0 / 354.4 MB, free: 0.7227 MB / 286.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.001881/0.1116, allocations: 0.5499 MB / 355 MB, free: 128 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1116, allocations: 12.03 kB / 355 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.1132, allocations: 172.5 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1134, allocations: 202.5 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.1134, allocations: 12.38 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.1135, allocations: 12.38 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.1139, allocations: 185.9 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1139, allocations: 0 / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.114, allocations: 3.938 kB / 355.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.114, allocations: 8 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.1144, allocations: 163.8 kB / 355.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1155, allocations: 0.5391 MB / 356.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.1159, allocations: 162.5 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.1162, allocations: 92.8 kB / 356.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1162, allocations: 7.984 kB / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1163, allocations: 38.5 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.996e-06/0.1163, allocations: 0 / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007189/0.117, allocations: 257.5 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.117, allocations: 59.41 kB / 356.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1172, allocations: 186.3 kB / 357 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1173, allocations: 29.7 kB / 357.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1174, allocations: 112.2 kB / 357.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1174, allocations: 51.34 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1175, allocations: 29.7 kB / 357.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1176, allocations: 322.8 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1178, allocations: 71.94 kB / 357.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.118, allocations: 90.47 kB / 357.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.1184, allocations: 173.7 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1184, allocations: 0 / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005103/0.119, allocations: 213.3 kB / 358.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.119, allocations: 7.938 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.119, allocations: 4 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.119, allocations: 0 / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.1193, allocations: 39.91 kB / 358.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1193, allocations: 7.984 kB / 358.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1195, allocations: 15.89 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1195, allocations: 12.05 kB / 358.2 MB, free: 12.7 MB / 302.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.0001224/0.1196, allocations: 133.8 kB / 358.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.1197, allocations: 23.67 kB / 358.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.1203, allocations: 246.9 kB / 358.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1203, allocations: 4 kB / 358.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1203, allocations: 4 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1203, allocations: 0 / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.1206, allocations: 265.5 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1206, allocations: 4 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1209, allocations: 35.97 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.1209, allocations: 7.938 kB / 358.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1209, allocations: 3.984 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1209, allocations: 0 / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1209, allocations: 3.938 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.1215, allocations: 323.2 kB / 359.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1215, allocations: 96.8 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1216, allocations: 4 kB / 359.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.1217, allocations: 11.98 kB / 359.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.1218, allocations: 11.97 kB / 359.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1218, allocations: 8 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.122, allocations: 148.2 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.122, allocations: 0 / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1223, allocations: 28 kB / 359.5 MB, free: 11.26 MB / 302.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.0001675/0.1225, allocations: 103.2 kB / 359.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.123, allocations: 190.4 kB / 359.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.123, allocations: 0 / 359.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1233, allocations: 99.88 kB / 359.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1236, allocations: 19.92 kB / 359.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.1243, allocations: 354.2 kB / 360.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1246, allocations: 0.7319 MB / 361 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1247, allocations: 27.41 kB / 361 MB, free: 9.684 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1247, allocations: 0 / 361 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Templates: time 0.004572/0.1293, allocations: 2.147 MB / 363.2 MB, free: 7.547 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches