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.001093/0.001093, allocations: 95.27 kB / 16.65 MB, free: 6.535 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.001303/0.001303, allocations: 173.8 kB / 17.56 MB, free: 6.184 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.438/1.438, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002634, allocations: 8 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09012, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001674/0.09183, allocations: 1.338 MB / 353.2 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.09299, allocations: 0.6388 MB / 353.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.09306, allocations: 8 kB / 353.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.09331, allocations: 43.84 kB / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.09346, allocations: 19.86 kB / 353.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.09457, allocations: 0.5795 MB / 354.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.09473, allocations: 103.7 kB / 354.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.09483, allocations: 29.09 kB / 354.6 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.09497, allocations: 47.8 kB / 354.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.09513, allocations: 79.66 kB / 354.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.09516, allocations: 4 kB / 354.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.09536, allocations: 135.8 kB / 354.8 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.09542, allocations: 19.92 kB / 354.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.0955, allocations: 81.3 kB / 354.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.09579, allocations: 215.4 kB / 355.1 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.0958, allocations: 8 kB / 355.2 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09581, allocations: 0 / 355.2 MB, free: 364 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.09582, allocations: 0 / 355.2 MB, free: 364 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.001399/0.09722, allocations: 0.5421 MB / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.09727, allocations: 8.031 kB / 355.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.09864, allocations: 168.5 kB / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.09881, allocations: 206.8 kB / 356.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.09884, allocations: 4.375 kB / 356.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.09888, allocations: 12.38 kB / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.09929, allocations: 189.9 kB / 356.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.09931, allocations: 0 / 356.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.09933, allocations: 7.922 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.09937, allocations: 11.98 kB / 356.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.09981, allocations: 187.8 kB / 356.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000917/0.1007, allocations: 0.5391 MB / 357 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1011, allocations: 182.5 kB / 357.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1014, allocations: 100.8 kB / 357.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1014, allocations: 8 kB / 357.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1015, allocations: 34.56 kB / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1015, allocations: 0 / 357.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.000752/0.1022, allocations: 305.3 kB / 357.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1023, allocations: 51.41 kB / 357.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1024, allocations: 184.3 kB / 357.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1025, allocations: 25.7 kB / 357.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.1025, allocations: 112 kB / 358 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.1026, allocations: 51.19 kB / 358 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1026, allocations: 17.72 kB / 358.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1027, allocations: 330.8 kB / 358.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.103, allocations: 79.94 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.1032, allocations: 103.4 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.1036, allocations: 203.4 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1036, allocations: 4 kB / 358.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005318/0.1042, allocations: 237 kB / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1042, allocations: 4 kB / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1042, allocations: 11.88 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1042, allocations: 8.094 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.1045, allocations: 39.97 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1045, allocations: 3.984 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1047, allocations: 19.84 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1047, allocations: 7.984 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001102/0.1048, allocations: 137.7 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.1049, allocations: 11.91 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.1055, allocations: 274.9 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.1055, allocations: 7.984 kB / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1055, allocations: 0 / 359.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1055, allocations: 7.984 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1058, allocations: 285.3 kB / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1059, allocations: 0 / 359.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.1061, allocations: 39.91 kB / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1061, allocations: 4 kB / 359.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1061, allocations: 11.92 kB / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1061, allocations: 0 / 359.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1061, allocations: 3.938 kB / 359.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.1067, allocations: 335.3 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1068, allocations: 96.86 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1068, allocations: 7.922 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.107, allocations: 16 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.107, allocations: 11.97 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1071, allocations: 11.94 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1072, allocations: 135.9 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1072, allocations: 0 / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1075, allocations: 31.91 kB / 360.5 MB, free: 10.66 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001637/0.1076, allocations: 111.2 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005098/0.1082, allocations: 198.4 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1082, allocations: 0 / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.1084, allocations: 116 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1087, allocations: 19.94 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.1094, allocations: 390.2 kB / 361.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1097, allocations: 0.7283 MB / 362 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1098, allocations: 33.41 kB / 362.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.1099, allocations: 27.42 kB / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1099, allocations: 0 / 362.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of Templates: time 0.004825/0.1147, allocations: 1.915 MB / 364 MB, free: 7.105 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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