Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001553, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 87.36 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3144, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4347, allocations: 77 MB / 451.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.435, allocations: 67.97 kB / 451.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.4518, allocations: 3.781 MB / 455.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4519, allocations: 0 / 455.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4519, allocations: 4 kB / 455.4 MB, free: 15.92 MB / 346.7 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.003304/0.4552, allocations: 0.6627 MB / 456 MB, free: 15.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4553, allocations: 8.031 kB / 456 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.4554, allocations: 19.81 kB / 456.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.4556, allocations: 179.6 kB / 456.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.4556, allocations: 16.12 kB / 456.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.4557, allocations: 19.94 kB / 456.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.4563, allocations: 179.2 kB / 456.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4563, allocations: 0 / 456.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.4564, allocations: 8 kB / 456.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.4564, allocations: 7.969 kB / 456.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.4572, allocations: 204.3 kB / 456.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4586, allocations: 0.5422 MB / 457.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.4593, allocations: 182.4 kB / 457.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.4593, allocations: 19.92 kB / 457.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4594, allocations: 30.56 kB / 457.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/0.4594, allocations: 0 / 457.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001283/0.4607, allocations: 370.5 kB / 457.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4607, allocations: 59.41 kB / 457.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.461, allocations: 158.5 kB / 458 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.461, allocations: 37.7 kB / 458 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.4611, allocations: 170.4 kB / 458.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.4612, allocations: 51.27 kB / 458.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.4612, allocations: 0 / 458.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4613, allocations: 318.8 kB / 458.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.4617, allocations: 81.88 kB / 458.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.4621, allocations: 107.4 kB / 458.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.4625, allocations: 88.08 kB / 458.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4625, allocations: 4 kB / 458.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008609/0.4634, allocations: 229.4 kB / 459.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4634, allocations: 8.891 kB / 459.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4634, allocations: 7.938 kB / 459.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4635, allocations: 4.094 kB / 459.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.4639, allocations: 43.89 kB / 459.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4639, allocations: 0 / 459.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.4642, allocations: 23.78 kB / 459.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4643, allocations: 11.98 kB / 459.2 MB, free: 11.88 MB / 346.7 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.0001568/0.4644, allocations: 133.8 kB / 459.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.4645, allocations: 7.906 kB / 459.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.4655, allocations: 280.4 kB / 459.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.4655, allocations: 11.97 kB / 459.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4656, allocations: 7.953 kB / 459.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4656, allocations: 4 kB / 459.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.466, allocations: 277.4 kB / 459.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.466, allocations: 0 / 459.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/0.4665, allocations: 43.89 kB / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.4665, allocations: 4 kB / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.4665, allocations: 4 kB / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4665, allocations: 0 / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4666, allocations: 0 / 459.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.4675, allocations: 353.9 kB / 460.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.4676, allocations: 92.86 kB / 460.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4676, allocations: 4 kB / 460.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4679, allocations: 15.98 kB / 460.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.468, allocations: 11.98 kB / 460.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.4681, allocations: 11.98 kB / 460.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.4682, allocations: 140.6 kB / 460.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4683, allocations: 0 / 460.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.4687, allocations: 39.89 kB / 460.6 MB, free: 10.38 MB / 346.7 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.0001875/0.4689, allocations: 111.2 kB / 460.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000866/0.4697, allocations: 191.8 kB / 460.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4698, allocations: 4 kB / 460.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.4702, allocations: 116 kB / 461 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.4705, allocations: 11.95 kB / 461 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.4715, allocations: 402 kB / 461.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.4718, allocations: 0.7244 MB / 462.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.472, allocations: 27.42 kB / 462.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.472, allocations: 7.938 kB / 462.2 MB, free: 8.738 MB / 346.7 MB Notification: Performance of Templates: time 0.005557/0.4775, allocations: 2.139 MB / 464.3 MB, free: 6.605 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches