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.001355/0.001355, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001461/0.001461, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.436/1.436, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 47.92 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2724, allocations: 49.43 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002936/0.2754, allocations: 1.646 MB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2765, allocations: 0.6426 MB / 403.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.2766, allocations: 4 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.2768, allocations: 47.73 kB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.277, allocations: 39.7 kB / 403.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2782, allocations: 0.598 MB / 404.4 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.2784, allocations: 111.7 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2785, allocations: 25.11 kB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2787, allocations: 59.77 kB / 404.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.2789, allocations: 83.66 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2789, allocations: 8 kB / 404.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.2791, allocations: 131.8 kB / 404.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.2792, allocations: 35.89 kB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.2793, allocations: 67.53 kB / 404.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.2796, allocations: 215.4 kB / 405.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2796, allocations: 0 / 405.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2796, allocations: 0 / 405.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.2797, allocations: 4 kB / 405.1 MB, free: 5.207 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.001488/0.2811, allocations: 0.5546 MB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2812, allocations: 8.031 kB / 405.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.2826, allocations: 172.5 kB / 405.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2827, allocations: 200.1 kB / 406 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2827, allocations: 8.312 kB / 406 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.2828, allocations: 8.375 kB / 406 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.2832, allocations: 177.9 kB / 406.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2832, allocations: 4 kB / 406.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2832, allocations: 4 kB / 406.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2833, allocations: 7.984 kB / 406.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.2837, allocations: 167.9 kB / 406.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009772/0.2846, allocations: 0.5352 MB / 406.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.285, allocations: 162.4 kB / 407.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.2853, allocations: 96.8 kB / 407.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.2853, allocations: 7.984 kB / 407.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2853, allocations: 34.5 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.2853, allocations: 0 / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006929/0.286, allocations: 261.7 kB / 407.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2861, allocations: 55.34 kB / 407.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2863, allocations: 186.4 kB / 407.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2863, allocations: 25.7 kB / 407.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.2864, allocations: 120.2 kB / 407.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2864, allocations: 39.36 kB / 407.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.2865, allocations: 37.69 kB / 407.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2867, allocations: 326.8 kB / 408.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2869, allocations: 67.89 kB / 408.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.2871, allocations: 94.52 kB / 408.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.2874, allocations: 168.8 kB / 408.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2874, allocations: 0 / 408.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004614/0.2879, allocations: 217.4 kB / 408.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2879, allocations: 7.938 kB / 408.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.288, allocations: 3.984 kB / 408.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.288, allocations: 4 kB / 408.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2882, allocations: 31.97 kB / 408.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2882, allocations: 0 / 408.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.2884, allocations: 23.83 kB / 408.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2884, allocations: 4 kB / 408.8 MB, free: 1.203 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.0001171/0.2885, allocations: 133.8 kB / 409 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.2886, allocations: 19.75 kB / 409 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005864/0.2892, allocations: 255 kB / 409.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2892, allocations: 4 kB / 409.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2892, allocations: 0 / 409.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2892, allocations: 3.984 kB / 409.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.2895, allocations: 277.4 kB / 409.5 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2895, allocations: 0 / 409.5 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.2897, allocations: 39.91 kB / 409.6 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2898, allocations: 3.938 kB / 409.6 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2898, allocations: 8 kB / 409.6 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2898, allocations: 0 / 409.6 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2898, allocations: 3.984 kB / 409.6 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.2903, allocations: 315.2 kB / 409.9 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.2904, allocations: 96.88 kB / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.2905, allocations: 4 kB / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2906, allocations: 15.92 kB / 410 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.2907, allocations: 15.89 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2907, allocations: 7.984 kB / 410 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.2909, allocations: 148.2 kB / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2909, allocations: 0 / 410.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.2911, allocations: 24 kB / 410.2 MB, free: 15.75 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.0001467/0.2913, allocations: 107.2 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.2918, allocations: 172.4 kB / 410.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2918, allocations: 4.125 kB / 410.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.292, allocations: 103.8 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2923, allocations: 19.94 kB / 410.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006544/0.293, allocations: 349.9 kB / 410.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2933, allocations: 0.7319 MB / 411.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.2934, allocations: 27.36 kB / 411.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2934, allocations: 0 / 411.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.004051/0.2975, allocations: 2.158 MB / 413.8 MB, free: 12.03 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