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.001276/0.001276, allocations: 106.7 kB / 17.06 MB, free: 6.102 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.001279/0.001279, allocations: 194.9 kB / 18 MB, free: 5.176 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.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001241, allocations: 39.94 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3756, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003107/0.3787, allocations: 1.633 MB / 402.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.38, allocations: 0.6465 MB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.38, allocations: 4 kB / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3804, allocations: 43.73 kB / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.3806, allocations: 35.78 kB / 403.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3818, allocations: 0.6103 MB / 403.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.3821, allocations: 111.7 kB / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3822, allocations: 29.09 kB / 403.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.3823, allocations: 55.78 kB / 403.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3825, allocations: 87.67 kB / 404 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3825, allocations: 8 kB / 404 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.3827, allocations: 135.8 kB / 404.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.3828, allocations: 39.84 kB / 404.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.3829, allocations: 51.66 kB / 404.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3832, allocations: 215.4 kB / 404.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3832, allocations: 3.984 kB / 404.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3832, allocations: 0 / 404.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.3832, allocations: 0 / 404.4 MB, free: 5.176 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.001514/0.3848, allocations: 0.5546 MB / 404.9 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3848, allocations: 8.031 kB / 405 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.3861, allocations: 184.5 kB / 405.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3863, allocations: 192.1 kB / 405.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.3864, allocations: 8.375 kB / 405.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3864, allocations: 8.375 kB / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.3868, allocations: 181.8 kB / 405.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3868, allocations: 4 kB / 405.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3869, allocations: 7.984 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.3869, allocations: 8 kB / 405.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.3873, allocations: 155.9 kB / 405.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.3882, allocations: 0.543 MB / 406.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.3886, allocations: 166.5 kB / 406.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3888, allocations: 92.73 kB / 406.5 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.3889, allocations: 11.98 kB / 406.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3889, allocations: 34.5 kB / 406.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.3889, allocations: 3.938 kB / 406.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006834/0.3896, allocations: 253.7 kB / 406.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3897, allocations: 55.41 kB / 406.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3898, allocations: 190.3 kB / 407 MB, free: 2.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3899, allocations: 25.7 kB / 407 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.39, allocations: 112.2 kB / 407.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.39, allocations: 47.36 kB / 407.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3901, allocations: 37.7 kB / 407.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3903, allocations: 318.8 kB / 407.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.3904, allocations: 79.81 kB / 407.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.3907, allocations: 90.52 kB / 407.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.391, allocations: 168.9 kB / 407.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.391, allocations: 0 / 407.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005427/0.3916, allocations: 205.4 kB / 408.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3916, allocations: 11.94 kB / 408.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3916, allocations: 0 / 408.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3917, allocations: 0 / 408.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.3919, allocations: 47.97 kB / 408.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3919, allocations: 3.984 kB / 408.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3921, allocations: 15.84 kB / 408.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3921, allocations: 7.984 kB / 408.2 MB, free: 1.16 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.0001108/0.3922, allocations: 133.8 kB / 408.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.3923, allocations: 19.75 kB / 408.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.3928, allocations: 247 kB / 408.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3928, allocations: 0 / 408.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3929, allocations: 0 / 408.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3929, allocations: 4 kB / 408.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.3932, allocations: 273.4 kB / 408.8 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3932, allocations: 3.984 kB / 408.8 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.3934, allocations: 43.91 kB / 408.9 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3934, allocations: 11.92 kB / 408.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3934, allocations: 0 / 408.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3934, allocations: 4 kB / 408.9 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3934, allocations: 4 kB / 408.9 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.394, allocations: 317.2 kB / 409.2 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3941, allocations: 96.89 kB / 409.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.3941, allocations: 0 / 409.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3943, allocations: 11.98 kB / 409.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.3943, allocations: 23.88 kB / 409.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3944, allocations: 8 kB / 409.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3945, allocations: 140.2 kB / 409.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.126e-06/0.3945, allocations: 0 / 409.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3948, allocations: 35.88 kB / 409.5 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.0001726/0.395, allocations: 119.2 kB / 409.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.3955, allocations: 167.8 kB / 409.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3955, allocations: 0 / 409.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.3957, allocations: 99.88 kB / 409.9 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.000307/0.396, allocations: 15.98 kB / 409.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006821/0.3967, allocations: 328.3 kB / 410.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3971, allocations: 0.7202 MB / 411 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3972, allocations: 33.41 kB / 411 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.591e-05/0.3973, allocations: 23.42 kB / 411 MB, free: 14.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3973, allocations: 0 / 411 MB, free: 14.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005362/0.4027, allocations: 1.988 MB / 413 MB, free: 12.18 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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