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.001745/0.001745, allocations: 114.5 kB / 17.73 MB, free: 5.316 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.00261/0.00261, allocations: 187 kB / 18.66 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.759/1.759, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001331/0.001331, allocations: 51.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 46.61 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004109/0.1316, allocations: 1.581 MB / 376.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1332, allocations: 0.6948 MB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.1332, allocations: 4 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.1336, allocations: 51.72 kB / 377.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1338, allocations: 27.78 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.135, allocations: 0.6069 MB / 378.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1353, allocations: 107.8 kB / 378.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1354, allocations: 37.03 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1356, allocations: 67.7 kB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1358, allocations: 79.67 kB / 378.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1358, allocations: 12 kB / 378.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1361, allocations: 135.8 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.1362, allocations: 31.92 kB / 378.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.1362, allocations: 59.64 kB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1366, allocations: 219.3 kB / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1366, allocations: 0 / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1366, allocations: 0 / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1366, allocations: 0 / 378.8 MB, free: 0.875 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.001638/0.1383, allocations: 0.5575 MB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1383, allocations: 8.031 kB / 379.4 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1397, allocations: 168.5 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2656/0.4054, allocations: 190.5 kB / 379.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.4055, allocations: 10.48 kB / 379.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.4056, allocations: 11.53 kB / 379.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.4061, allocations: 172.5 kB / 379.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4062, allocations: 0 / 379.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.4062, allocations: 4.188 kB / 379.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.4062, allocations: 10.97 kB / 379.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.4067, allocations: 170.5 kB / 380.1 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/0.4077, allocations: 0.5366 MB / 380.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.408, allocations: 163.4 kB / 380.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.4083, allocations: 89.27 kB / 380.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4083, allocations: 9.016 kB / 380.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.4083, allocations: 34.09 kB / 380.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.4083, allocations: 0.6562 kB / 380.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007216/0.4091, allocations: 260.5 kB / 381.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.4091, allocations: 57.11 kB / 381.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.4093, allocations: 187.9 kB / 381.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4093, allocations: 30.67 kB / 381.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.4094, allocations: 113.7 kB / 381.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.4094, allocations: 46.78 kB / 381.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.4095, allocations: 34.47 kB / 381.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.4096, allocations: 324.3 kB / 382 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4098, allocations: 71 kB / 382 MB, free: 12.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.41, allocations: 91.39 kB / 382.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.4105, allocations: 168.4 kB / 382.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4105, allocations: 0.5 kB / 382.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000554/0.4111, allocations: 213 kB / 382.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.4111, allocations: 5.406 kB / 382.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4111, allocations: 2.969 kB / 382.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4111, allocations: 1.125 kB / 382.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.4114, allocations: 42.09 kB / 382.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4114, allocations: 5.562 kB / 382.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4116, allocations: 21.55 kB / 382.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.4116, allocations: 6.531 kB / 382.6 MB, free: 12.07 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.0001053/0.4117, allocations: 135.2 kB / 382.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.4118, allocations: 14.09 kB / 382.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.4124, allocations: 249.1 kB / 383 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4125, allocations: 4.969 kB / 383 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4125, allocations: 7.531 kB / 383 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4125, allocations: 3.938 kB / 383 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.4128, allocations: 272.3 kB / 383.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4128, allocations: 1.266 kB / 383.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.413, allocations: 41.16 kB / 383.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.413, allocations: 1.375 kB / 383.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4131, allocations: 2.328 kB / 383.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4131, allocations: 2.641 kB / 383.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4131, allocations: 8.188 kB / 383.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.4136, allocations: 324.8 kB / 383.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.4136, allocations: 91.88 kB / 383.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.4136, allocations: 5.625 kB / 383.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4138, allocations: 7.016 kB / 383.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.4139, allocations: 20.77 kB / 383.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4139, allocations: 5.312 kB / 383.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.414, allocations: 151 kB / 383.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.414, allocations: 0 / 383.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.4143, allocations: 27.22 kB / 383.9 MB, free: 11.17 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.0001284/0.4144, allocations: 107 kB / 384 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004842/0.4149, allocations: 181.2 kB / 384.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4149, allocations: 0 / 384.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4151, allocations: 101.7 kB / 384.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4155, allocations: 18.97 kB / 384.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.4161, allocations: 315.6 kB / 384.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.4163, allocations: 0.7259 MB / 385.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.4164, allocations: 32.83 kB / 385.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.4165, allocations: 25.94 kB / 385.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4165, allocations: 1.156 kB / 385.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Templates: time 0.005463/0.4219, allocations: 1.988 MB / 387.4 MB, free: 9.914 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