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.001162/0.001162, allocations: 92.14 kB / 16.3 MB, free: 5.996 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.001418/0.001418, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.374/1.374, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002894, allocations: 5.469 kB / 300.7 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.0964, allocations: 50.42 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002102/0.09855, allocations: 1.313 MB / 352.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.09966, allocations: 0.6004 MB / 353 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.09976, allocations: 4 kB / 353.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.09997, allocations: 27.8 kB / 353.1 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1001, allocations: 27.91 kB / 353.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1012, allocations: 0.4984 MB / 353.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1013, allocations: 67.86 kB / 353.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1015, allocations: 25.33 kB / 353.7 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1016, allocations: 55.75 kB / 353.7 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1018, allocations: 63.75 kB / 353.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1018, allocations: 8 kB / 353.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.1021, allocations: 115.9 kB / 353.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1021, allocations: 35.83 kB / 354 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1022, allocations: 45.64 kB / 354 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1025, allocations: 139.7 kB / 354.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1025, allocations: 0 / 354.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1025, allocations: 0 / 354.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1025, allocations: 4 kB / 354.2 MB, free: 8.68 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.001485/0.104, allocations: 0.5494 MB / 354.7 MB, free: 8.082 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.104, allocations: 8.031 kB / 354.7 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.1054, allocations: 175.5 kB / 354.9 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1056, allocations: 182.9 kB / 355.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1056, allocations: 4 kB / 355.1 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1056, allocations: 12 kB / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.106, allocations: 185.5 kB / 355.3 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1061, allocations: 0 / 355.3 MB, free: 7.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1061, allocations: 15.95 kB / 355.3 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.1061, allocations: 4 kB / 355.3 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.1065, allocations: 175.9 kB / 355.4 MB, free: 7.289 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009513/0.1075, allocations: 0.5507 MB / 356 MB, free: 6.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.1079, allocations: 186.4 kB / 356.2 MB, free: 6.496 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.108, allocations: 7.922 kB / 356.2 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.108, allocations: 34.56 kB / 356.2 MB, free: 6.445 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.108, allocations: 0 / 356.2 MB, free: 6.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008009/0.1088, allocations: 374.5 kB / 356.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1089, allocations: 59.34 kB / 356.6 MB, free: 5.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.109, allocations: 187.3 kB / 356.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1091, allocations: 25.7 kB / 356.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.1091, allocations: 116 kB / 357 MB, free: 5.637 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.1092, allocations: 43.36 kB / 357 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.1092, allocations: 0 / 357 MB, free: 5.594 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1094, allocations: 330.8 kB / 357.3 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1095, allocations: 75.95 kB / 357.4 MB, free: 5.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1099, allocations: 113.5 kB / 357.5 MB, free: 5.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1101, allocations: 87.95 kB / 357.6 MB, free: 4.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1101, allocations: 0 / 357.6 MB, free: 4.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005022/0.1106, allocations: 247.9 kB / 357.8 MB, free: 4.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1106, allocations: 4 kB / 357.8 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1107, allocations: 0 / 357.8 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1107, allocations: 4 kB / 357.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.1109, allocations: 39.97 kB / 357.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1109, allocations: 0 / 357.9 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1111, allocations: 23.78 kB / 357.9 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1111, allocations: 16.06 kB / 357.9 MB, free: 4.648 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.1113, allocations: 133.7 kB / 358.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1113, allocations: 15.81 kB / 358.1 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.1119, allocations: 277.9 kB / 358.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.1119, allocations: 0 / 358.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.112, allocations: 0 / 358.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.112, allocations: 0 / 358.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1123, allocations: 285.4 kB / 358.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1123, allocations: 0 / 358.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.1125, allocations: 43.91 kB / 358.7 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1125, allocations: 0 / 358.7 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1126, allocations: 15.98 kB / 358.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1126, allocations: 0 / 358.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1126, allocations: 0 / 358.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.1132, allocations: 343.2 kB / 359 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.1132, allocations: 104.8 kB / 359.1 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1133, allocations: 0 / 359.1 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1135, allocations: 15.98 kB / 359.1 MB, free: 3.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.1135, allocations: 19.91 kB / 359.2 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.1135, allocations: 8 kB / 359.2 MB, free: 3.312 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1137, allocations: 135.9 kB / 359.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1137, allocations: 3.938 kB / 359.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.114, allocations: 28 kB / 359.3 MB, free: 3.148 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.1142, allocations: 107.2 kB / 359.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1147, allocations: 199.9 kB / 359.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1147, allocations: 0 / 359.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.115, allocations: 109.4 kB / 359.7 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1152, allocations: 15.98 kB / 359.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.1159, allocations: 378.3 kB / 360.1 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1163, allocations: 0.7361 MB / 360.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1164, allocations: 33.41 kB / 360.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.1165, allocations: 23.42 kB / 360.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1165, allocations: 0 / 360.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of Templates: time 0.005134/0.1216, allocations: 1.849 MB / 362.8 MB, free: 15.67 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","../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches