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.001217/0.001217, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001372/0.001372, allocations: 179 kB / 18.68 MB, free: 4.383 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 43.92 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.353, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003031/0.3561, allocations: 1.635 MB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3572, allocations: 0.6504 MB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.3572, allocations: 0 / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.3575, allocations: 47.73 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.3577, allocations: 35.78 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3589, allocations: 0.5984 MB / 404.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3591, allocations: 115.6 kB / 404.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3592, allocations: 29.11 kB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.3594, allocations: 63.77 kB / 404.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3596, allocations: 79.66 kB / 404.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.3596, allocations: 15.94 kB / 404.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.3598, allocations: 127.8 kB / 404.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.3599, allocations: 35.89 kB / 404.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.36, allocations: 63.59 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.3604, allocations: 219.1 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3604, allocations: 0 / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3604, allocations: 4 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3604, allocations: 0 / 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.001435/0.3618, allocations: 0.5532 MB / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3619, allocations: 12.03 kB / 405.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.3633, allocations: 176.6 kB / 405.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3635, allocations: 195.2 kB / 406 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3635, allocations: 8.375 kB / 406 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.3635, allocations: 16.38 kB / 406 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.3639, allocations: 177.9 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3639, allocations: 0 / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.3639, allocations: 4 kB / 406.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.364, allocations: 19.92 kB / 406.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3644, allocations: 163.9 kB / 406.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/0.3654, allocations: 0.5315 MB / 406.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.3657, allocations: 162.5 kB / 407.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.366, allocations: 92.8 kB / 407.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.366, allocations: 3.984 kB / 407.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3661, allocations: 42.44 kB / 407.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3661, allocations: 4 kB / 407.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007109/0.3668, allocations: 257.7 kB / 407.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.3668, allocations: 51.41 kB / 407.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.367, allocations: 186.3 kB / 407.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.367, allocations: 25.7 kB / 407.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.3671, allocations: 124.2 kB / 407.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.3671, allocations: 39.64 kB / 407.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.3672, allocations: 33.7 kB / 407.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3673, allocations: 326.8 kB / 408.3 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3675, allocations: 67.94 kB / 408.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3677, allocations: 94.52 kB / 408.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.3681, allocations: 170.2 kB / 408.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3681, allocations: 0 / 408.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004523/0.3686, allocations: 217.4 kB / 408.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3686, allocations: 12 kB / 408.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3686, allocations: 4 kB / 408.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3686, allocations: 0 / 408.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.3689, allocations: 43.83 kB / 408.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.3689, allocations: 0 / 408.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3691, allocations: 19.89 kB / 408.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3691, allocations: 7.984 kB / 408.9 MB, free: 1.148 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.0001045/0.3692, allocations: 129.8 kB / 409 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.3693, allocations: 19.84 kB / 409 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.3698, allocations: 250.9 kB / 409.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3699, allocations: 0 / 409.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3699, allocations: 4 kB / 409.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.3699, allocations: 93 kB / 409.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3699, allocations: 0 / 409.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.3701, allocations: 8 kB / 409.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.3702, allocations: 27.86 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005734/0.3708, allocations: 300.8 kB / 409.7 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005321/0.3713, allocations: 405.1 kB / 410.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002048/0.3715, allocations: 95.94 kB / 410.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.3716, allocations: 140.2 kB / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.3717, allocations: 0 / 410.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.3723, allocations: 218 kB / 410.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006218/0.373, allocations: 0.723 MB / 411.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Templates: time 0.006232/0.3792, allocations: 3.005 MB / 414.3 MB, free: 11.66 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