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.001636/0.001636, allocations: 111.4 kB / 17.29 MB, free: 6.059 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.001967/0.001967, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.364/1.364, allocations: 222.9 MB / 241.9 MB, free: 13.69 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 49.11 kB / 300.8 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 49.44 MB / 350.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002692/0.1066, allocations: 1.686 MB / 351.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1076, allocations: 0.631 MB / 352.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.1077, allocations: 4 kB / 352.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.1079, allocations: 47.84 kB / 352.6 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1081, allocations: 31.84 kB / 352.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1091, allocations: 0.5592 MB / 353.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1093, allocations: 115.6 kB / 353.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1094, allocations: 29.09 kB / 353.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1095, allocations: 59.77 kB / 353.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1097, allocations: 83.66 kB / 353.5 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1097, allocations: 12 kB / 353.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1099, allocations: 139.8 kB / 353.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.11, allocations: 31.91 kB / 353.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.11, allocations: 63.59 kB / 353.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1103, allocations: 147.8 kB / 353.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1103, allocations: 0 / 353.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1103, allocations: 0 / 353.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1103, allocations: 0 / 353.9 MB, free: 0.8672 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.001395/0.1117, allocations: 0.5616 MB / 354.4 MB, free: 264 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1117, allocations: 16.02 kB / 354.4 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.1131, allocations: 168.5 kB / 354.6 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.1132, allocations: 206.3 kB / 354.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1133, allocations: 8.375 kB / 354.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1133, allocations: 8.375 kB / 354.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1137, allocations: 185.8 kB / 355 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1137, allocations: 0 / 355 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1137, allocations: 8 kB / 355 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.1138, allocations: 11.92 kB / 355 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.1142, allocations: 167.9 kB / 355.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.1151, allocations: 0.5392 MB / 355.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.1155, allocations: 170.5 kB / 355.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1157, allocations: 108.8 kB / 356 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1157, allocations: 0 / 356 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1158, allocations: 38.5 kB / 356 MB, free: 14.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.1158, allocations: 3.938 kB / 356 MB, free: 14.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.000692/0.1165, allocations: 284.5 kB / 356.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1165, allocations: 59.41 kB / 356.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1167, allocations: 183.2 kB / 356.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1167, allocations: 29.7 kB / 356.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.1168, allocations: 112 kB / 356.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.1168, allocations: 51.2 kB / 356.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.1169, allocations: 37.69 kB / 356.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1171, allocations: 322.8 kB / 357.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.1173, allocations: 75.95 kB / 357.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1175, allocations: 103.3 kB / 357.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.1179, allocations: 195 kB / 357.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1179, allocations: 0 / 357.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004739/0.1183, allocations: 229.3 kB / 357.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1184, allocations: 4 kB / 357.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1184, allocations: 3.938 kB / 357.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1184, allocations: 4 kB / 357.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.1187, allocations: 35.95 kB / 357.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1187, allocations: 8.031 kB / 357.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1188, allocations: 19.84 kB / 357.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1188, allocations: 7.984 kB / 357.8 MB, free: 12.71 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.000104/0.119, allocations: 129.8 kB / 357.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.119, allocations: 11.84 kB / 357.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.1196, allocations: 274.8 kB / 358.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1196, allocations: 4 kB / 358.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1196, allocations: 3.984 kB / 358.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1196, allocations: 0 / 358.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.1199, allocations: 277.5 kB / 358.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1199, allocations: 0 / 358.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1202, allocations: 35.97 kB / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1202, allocations: 0 / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1202, allocations: 11.92 kB / 358.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1202, allocations: 4 kB / 358.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1202, allocations: 4 kB / 358.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.1207, allocations: 330.5 kB / 358.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1208, allocations: 96.84 kB / 358.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1208, allocations: 11.94 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.121, allocations: 8 kB / 358.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.1211, allocations: 23.92 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1211, allocations: 4 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1212, allocations: 135.9 kB / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1212, allocations: 0 / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1215, allocations: 35.94 kB / 359.1 MB, free: 11.24 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.0001271/0.1216, allocations: 103.2 kB / 359.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.1221, allocations: 203.8 kB / 359.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1221, allocations: 0 / 359.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.1224, allocations: 107.9 kB / 359.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1227, allocations: 12 kB / 359.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.1233, allocations: 418.2 kB / 360 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1236, allocations: 0.728 MB / 360.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.1237, allocations: 23.41 kB / 360.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1237, allocations: 4 kB / 360.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of Templates: time 0.003893/0.1276, allocations: 2.229 MB / 362.9 MB, free: 7.375 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