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.001343/0.001343, allocations: 111.8 kB / 17.74 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.00147/0.00147, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 39.94 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.304, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003074/0.3072, allocations: 1.641 MB / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3084, allocations: 0.6426 MB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.3084, allocations: 8 kB / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3087, allocations: 51.72 kB / 403.7 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.3089, allocations: 35.72 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3101, allocations: 0.59 MB / 404.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.3103, allocations: 123.7 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3104, allocations: 21.12 kB / 404.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.3106, allocations: 59.77 kB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3108, allocations: 83.66 kB / 404.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.3108, allocations: 8 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.311, allocations: 131.8 kB / 404.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.3111, allocations: 39.89 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.3112, allocations: 67.53 kB / 404.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3115, allocations: 207.5 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3115, allocations: 0 / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.3115, allocations: 0 / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3115, allocations: 3.938 kB / 405.1 MB, free: 5.172 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.001454/0.313, allocations: 0.5624 MB / 405.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.313, allocations: 8.031 kB / 405.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3144, allocations: 172.5 kB / 405.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3145, allocations: 188.2 kB / 406 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3146, allocations: 8.375 kB / 406 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3146, allocations: 8.375 kB / 406 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.315, allocations: 189.8 kB / 406.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.315, allocations: 4 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.315, allocations: 4 kB / 406.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.3151, allocations: 4 kB / 406.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.3155, allocations: 163.9 kB / 406.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.3164, allocations: 0.543 MB / 406.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.3168, allocations: 158.4 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.317, allocations: 96.8 kB / 407.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.3171, allocations: 7.984 kB / 407.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3171, allocations: 38.48 kB / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.3171, allocations: 0 / 407.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006816/0.3178, allocations: 259.8 kB / 407.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3179, allocations: 51.41 kB / 407.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.318, allocations: 190.3 kB / 407.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3181, allocations: 33.62 kB / 407.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.3182, allocations: 120.2 kB / 407.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3182, allocations: 39.36 kB / 407.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.3183, allocations: 33.7 kB / 407.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3184, allocations: 326.8 kB / 408.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3186, allocations: 67.94 kB / 408.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.3188, allocations: 90.53 kB / 408.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3192, allocations: 166.4 kB / 408.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3192, allocations: 0 / 408.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004474/0.3196, allocations: 223.1 kB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3197, allocations: 7.938 kB / 408.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3197, allocations: 4 kB / 408.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3197, allocations: 4 kB / 408.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.3199, allocations: 31.97 kB / 408.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3199, allocations: 0 / 408.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3201, allocations: 23.83 kB / 408.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3201, allocations: 7.984 kB / 408.9 MB, free: 1.156 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.0001055/0.3202, allocations: 129.8 kB / 409 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3202, allocations: 19.75 kB / 409 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.3208, allocations: 251 kB / 409.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3208, allocations: 7.984 kB / 409.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3208, allocations: 0 / 409.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3208, allocations: 0 / 409.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.3211, allocations: 277.4 kB / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3211, allocations: 0 / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.3214, allocations: 39.91 kB / 409.6 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3214, allocations: 3.938 kB / 409.6 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3214, allocations: 11.98 kB / 409.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3214, allocations: 0 / 409.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3214, allocations: 0 / 409.6 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.3219, allocations: 319.2 kB / 409.9 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.322, allocations: 92.89 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.322, allocations: 4 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3222, allocations: 7.984 kB / 410 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.3222, allocations: 19.89 kB / 410 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3223, allocations: 11.92 kB / 410 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3224, allocations: 148.2 kB / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3224, allocations: 0 / 410.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3227, allocations: 24 kB / 410.2 MB, free: 15.71 MB / 334.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.0001338/0.3228, allocations: 107.2 kB / 410.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.3233, allocations: 167.8 kB / 410.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3233, allocations: 4.062 kB / 410.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3235, allocations: 110.6 kB / 410.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3238, allocations: 19.98 kB / 410.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.3244, allocations: 349.9 kB / 410.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.3247, allocations: 0.728 MB / 411.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.3248, allocations: 27.41 kB / 411.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3248, allocations: 0 / 411.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of Templates: time 0.003778/0.3286, allocations: 2.181 MB / 413.9 MB, free: 11.97 MB / 334.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