Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001316/0.001316, allocations: 108.7 kB / 17.93 MB, free: 5.547 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.001411/0.001411, allocations: 197.8 kB / 18.86 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 48.3 kB / 280.8 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09123, allocations: 46.62 MB / 327.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002763/0.09405, allocations: 1.643 MB / 329.1 MB, free: 3.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.09517, allocations: 0.6826 MB / 329.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.09524, allocations: 4 kB / 329.7 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.09552, allocations: 43.84 kB / 329.8 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.09569, allocations: 15.92 kB / 329.8 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.09677, allocations: 0.5877 MB / 330.4 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.09694, allocations: 99.75 kB / 330.5 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.09705, allocations: 33.05 kB / 330.5 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.09721, allocations: 67.7 kB / 330.6 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.09737, allocations: 79.67 kB / 330.7 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.0974, allocations: 8 kB / 330.7 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.09761, allocations: 147.8 kB / 330.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.09769, allocations: 39.89 kB / 330.9 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.09776, allocations: 55.61 kB / 330.9 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.098, allocations: 152 kB / 331.1 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09801, allocations: 4 kB / 331.1 MB, free: 1.137 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09802, allocations: 0 / 331.1 MB, free: 1.137 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.09803, allocations: 0 / 331.1 MB, free: 1.137 MB / 270.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.001564/0.0996, allocations: 0.5613 MB / 331.6 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.09964, allocations: 8.031 kB / 331.6 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.101, allocations: 172.5 kB / 331.8 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1012, allocations: 192 kB / 332 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1012, allocations: 8.375 kB / 332 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1013, allocations: 8.375 kB / 332 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.1017, allocations: 193.8 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1017, allocations: 0 / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1017, allocations: 0 / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.1018, allocations: 16 kB / 332.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.1022, allocations: 163.9 kB / 332.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/0.1031, allocations: 0.5392 MB / 332.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.1035, allocations: 190.4 kB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.1038, allocations: 92.8 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1038, allocations: 4 kB / 333.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1038, allocations: 38.5 kB / 333.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1038, allocations: 0 / 333.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007069/0.1046, allocations: 286.5 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1046, allocations: 55.41 kB / 333.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1048, allocations: 183.3 kB / 333.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1048, allocations: 25.7 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.1049, allocations: 111.9 kB / 333.9 MB, free: 14.12 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.1049, allocations: 47.3 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.105, allocations: 45.59 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1051, allocations: 326.8 kB / 334.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1053, allocations: 71.94 kB / 334.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1055, allocations: 103.4 kB / 334.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.1059, allocations: 195.4 kB / 334.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1059, allocations: 0 / 334.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000486/0.1064, allocations: 217.4 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1065, allocations: 4 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1065, allocations: 8.031 kB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1065, allocations: 4 kB / 334.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1068, allocations: 39.91 kB / 334.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1068, allocations: 4 kB / 334.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1069, allocations: 19.83 kB / 334.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.107, allocations: 8 kB / 334.9 MB, free: 13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.1071, allocations: 129.8 kB / 335.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.1071, allocations: 15.81 kB / 335.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.1078, allocations: 270.9 kB / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1078, allocations: 0 / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1078, allocations: 0 / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1078, allocations: 0 / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1082, allocations: 289.3 kB / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1082, allocations: 0 / 335.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1084, allocations: 43.84 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1084, allocations: 8 kB / 335.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1085, allocations: 7.938 kB / 335.7 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1085, allocations: 0 / 335.7 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1085, allocations: 0 / 335.7 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.109, allocations: 339.3 kB / 336 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.1091, allocations: 92.86 kB / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1091, allocations: 3.938 kB / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1093, allocations: 23.98 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.1094, allocations: 11.98 kB / 336.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1094, allocations: 7.984 kB / 336.2 MB, free: 11.69 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1095, allocations: 135.9 kB / 336.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1095, allocations: 3.938 kB / 336.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1098, allocations: 28 kB / 336.3 MB, free: 11.52 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 (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.0001485/0.1099, allocations: 107.2 kB / 336.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.1105, allocations: 199.8 kB / 336.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1105, allocations: 0 / 336.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.1107, allocations: 103.8 kB / 336.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.111, allocations: 31.55 kB / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006668/0.1117, allocations: 405.5 kB / 337.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.112, allocations: 0.7279 MB / 337.9 MB, free: 9.898 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.1121, allocations: 23.42 kB / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1121, allocations: 4 kB / 337.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of Templates: time 0.003948/0.1161, allocations: 2.222 MB / 340.1 MB, free: 7.645 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches