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.001401/0.001401, allocations: 112.9 kB / 17.69 MB, free: 5.309 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.00153/0.00153, allocations: 192 kB / 18.63 MB, free: 4.375 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.308/1.308, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 54.78 kB / 302.1 MB, free: 5.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09513, allocations: 49.45 MB / 351.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002887/0.09807, allocations: 1.615 MB / 353.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.09911, allocations: 0.6479 MB / 353.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.09919, allocations: 0 / 353.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.09942, allocations: 47.78 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.09961, allocations: 39.72 kB / 353.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1007, allocations: 0.6069 MB / 354.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1009, allocations: 111.7 kB / 354.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1011, allocations: 25.11 kB / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1012, allocations: 63.72 kB / 354.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1014, allocations: 79.72 kB / 354.7 MB, free: 496 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1014, allocations: 12 kB / 354.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1016, allocations: 135.8 kB / 354.9 MB, free: 348 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.1017, allocations: 31.86 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.1018, allocations: 59.64 kB / 355 MB, free: 256 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.102, allocations: 223.4 kB / 355.2 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1021, allocations: 0 / 355.2 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1021, allocations: 0 / 355.2 MB, free: 32 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1021, allocations: 0 / 355.2 MB, free: 32 kB / 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.001433/0.1035, allocations: 0.5457 MB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1036, allocations: 12.03 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1049, allocations: 176.5 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1051, allocations: 196 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.1051, allocations: 8.375 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1051, allocations: 12.38 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.1055, allocations: 182.4 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1055, allocations: 7.969 kB / 356.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1056, allocations: 8 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.1056, allocations: 8 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.106, allocations: 163.8 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.1069, allocations: 0.5312 MB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.1073, allocations: 166.5 kB / 357.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.1076, allocations: 92.8 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1076, allocations: 0 / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1076, allocations: 38.44 kB / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1076, allocations: 4 kB / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006884/0.1083, allocations: 268.5 kB / 357.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1084, allocations: 51.41 kB / 357.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1086, allocations: 186.4 kB / 357.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1086, allocations: 33.64 kB / 357.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.1087, allocations: 112.2 kB / 358 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1087, allocations: 39.36 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.1088, allocations: 37.69 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1089, allocations: 330.8 kB / 358.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1091, allocations: 59.95 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1093, allocations: 98.45 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.1096, allocations: 170.4 kB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1096, allocations: 0 / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004427/0.1101, allocations: 213.3 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1101, allocations: 7.938 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1101, allocations: 4 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1102, allocations: 0 / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.1104, allocations: 39.97 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1104, allocations: 4 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1106, allocations: 11.89 kB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1106, allocations: 8 kB / 359 MB, free: 12.02 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.0001049/0.1107, allocations: 133.8 kB / 359.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.1107, allocations: 15.75 kB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.1113, allocations: 250.9 kB / 359.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1113, allocations: 7.984 kB / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1113, allocations: 0 / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1113, allocations: 3.984 kB / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.1116, allocations: 269.5 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1116, allocations: 0 / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1118, allocations: 39.97 kB / 359.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1119, allocations: 7.938 kB / 359.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1119, allocations: 3.984 kB / 359.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1119, allocations: 3.938 kB / 359.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1119, allocations: 4 kB / 359.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.1124, allocations: 323.1 kB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1124, allocations: 96.8 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1125, allocations: 8 kB / 360.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1126, allocations: 7.984 kB / 360.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.1127, allocations: 11.98 kB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1127, allocations: 11.98 kB / 360.1 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1128, allocations: 140.2 kB / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1129, allocations: 0 / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1131, allocations: 32 kB / 360.3 MB, free: 10.57 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.0001334/0.1133, allocations: 103.2 kB / 360.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.1137, allocations: 179.8 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1137, allocations: 0 / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.114, allocations: 102.5 kB / 360.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1143, allocations: 19.94 kB / 360.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.1149, allocations: 328.5 kB / 361 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1151, allocations: 0.7202 MB / 361.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1153, allocations: 33.41 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.1153, allocations: 27.42 kB / 361.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1154, allocations: 0 / 361.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of Templates: time 0.004832/0.1202, allocations: 1.953 MB / 363.7 MB, free: 7.082 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 -s gbode -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