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.001602/0.001602, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001802/0.001802, allocations: 192.2 kB / 18.67 MB, free: 4.387 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.592/1.592, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001405/0.001405, allocations: 51.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 46.61 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003453/0.1289, allocations: 1.596 MB / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1304, allocations: 0.6948 MB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1305, allocations: 4 kB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1309, allocations: 47.72 kB / 377.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1311, allocations: 35.78 kB / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1324, allocations: 0.603 MB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.1327, allocations: 107.7 kB / 378.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1329, allocations: 37.05 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1331, allocations: 67.7 kB / 378.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1333, allocations: 79.67 kB / 378.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.1334, allocations: 8 kB / 378.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.1336, allocations: 131.8 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.1337, allocations: 35.89 kB / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.1338, allocations: 55.67 kB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.1343, allocations: 227.2 kB / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1343, allocations: 0 / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1343, allocations: 0 / 378.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1343, allocations: 0 / 378.8 MB, free: 0.8672 MB / 318.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.00183/0.1362, allocations: 0.561 MB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1362, allocations: 12.02 kB / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.1376, allocations: 168.6 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2282/0.3658, allocations: 192.7 kB / 379.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.366, allocations: 9.859 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.366, allocations: 9.656 kB / 379.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.3667, allocations: 175.1 kB / 379.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3667, allocations: 0 / 379.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3667, allocations: 1.188 kB / 379.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.3668, allocations: 6.469 kB / 379.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.3672, allocations: 171.1 kB / 380.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3683, allocations: 0.54 MB / 380.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.3687, allocations: 166.1 kB / 380.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.369, allocations: 94.62 kB / 380.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.3691, allocations: 2.969 kB / 380.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3691, allocations: 32.64 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/0.3691, allocations: 4.188 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007802/0.3699, allocations: 259.9 kB / 381.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3699, allocations: 59.48 kB / 381.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3702, allocations: 187.8 kB / 381.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3702, allocations: 27.88 kB / 381.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.3703, allocations: 113.8 kB / 381.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.3703, allocations: 45.14 kB / 381.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.3704, allocations: 40.3 kB / 381.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.3705, allocations: 326.2 kB / 382 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3706, allocations: 65 kB / 382 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3709, allocations: 90.09 kB / 382.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.3713, allocations: 172.6 kB / 382.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3714, allocations: 0 / 382.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005044/0.3719, allocations: 210.8 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3719, allocations: 5.219 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3719, allocations: 6.141 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3719, allocations: 1.094 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.3722, allocations: 38.56 kB / 382.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3722, allocations: 5.688 kB / 382.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3724, allocations: 23.09 kB / 382.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.3724, allocations: 6.125 kB / 382.6 MB, free: 11.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001172/0.3725, allocations: 131.2 kB / 382.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3726, allocations: 18.53 kB / 382.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.3733, allocations: 251 kB / 383 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.3733, allocations: 5.469 kB / 383 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3734, allocations: 3.938 kB / 383 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3734, allocations: 0 / 383 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.3737, allocations: 274 kB / 383.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3737, allocations: 0 / 383.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.374, allocations: 45.25 kB / 383.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.374, allocations: 0 / 383.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.374, allocations: 6.938 kB / 383.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.374, allocations: 6.484 kB / 383.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.374, allocations: 3.938 kB / 383.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.3746, allocations: 320.4 kB / 383.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3746, allocations: 98.89 kB / 383.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.3747, allocations: 6.594 kB / 383.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3748, allocations: 11.19 kB / 383.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.3749, allocations: 15.25 kB / 383.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3749, allocations: 5.891 kB / 383.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3751, allocations: 151.9 kB / 383.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3751, allocations: 0 / 383.9 MB, free: 10.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.3754, allocations: 29.33 kB / 383.9 MB, free: 10.9 MB / 318.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001604/0.3755, allocations: 112.8 kB / 384 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005124/0.3761, allocations: 175.6 kB / 384.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3761, allocations: 0 / 384.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.3763, allocations: 102.4 kB / 384.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3767, allocations: 15.84 kB / 384.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.3774, allocations: 313.8 kB / 384.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3777, allocations: 0.7297 MB / 385.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.3778, allocations: 32.27 kB / 385.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.3779, allocations: 27.14 kB / 385.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3779, allocations: 0 / 385.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of Templates: time 0.006727/0.3847, allocations: 1.982 MB / 387.4 MB, free: 9.656 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches