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.001344/0.001344, allocations: 110.6 kB / 17.06 MB, free: 6.023 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.001312/0.001312, allocations: 191 kB / 17.99 MB, free: 5.109 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.568/1.568, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 47.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4009, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003379/0.4043, allocations: 1.642 MB / 402.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4058, allocations: 0.6387 MB / 403 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.4059, allocations: 4 kB / 403 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.4063, allocations: 51.72 kB / 403 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.4065, allocations: 39.72 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.4078, allocations: 0.5973 MB / 403.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.408, allocations: 115.7 kB / 403.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.4081, allocations: 21.11 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.4083, allocations: 63.77 kB / 403.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.4085, allocations: 83.66 kB / 403.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.4085, allocations: 8 kB / 404 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.4087, allocations: 131.8 kB / 404.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.4088, allocations: 39.89 kB / 404.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.4089, allocations: 59.58 kB / 404.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.4092, allocations: 211.4 kB / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4092, allocations: 0 / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4092, allocations: 0 / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.4092, allocations: 0 / 404.4 MB, free: 5.16 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.001626/0.4109, allocations: 0.5692 MB / 405 MB, free: 4.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4109, allocations: 8.031 kB / 405 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4124, allocations: 176.5 kB / 405.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.4126, allocations: 188.2 kB / 405.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.4126, allocations: 8.375 kB / 405.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.4127, allocations: 4.375 kB / 405.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.4131, allocations: 189.8 kB / 405.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4131, allocations: 0 / 405.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.4132, allocations: 7.984 kB / 405.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.4132, allocations: 7.984 kB / 405.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.4136, allocations: 159.9 kB / 405.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4147, allocations: 0.5469 MB / 406.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.4151, allocations: 162.4 kB / 406.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.4153, allocations: 88.8 kB / 406.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.4153, allocations: 11.98 kB / 406.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4154, allocations: 34.5 kB / 406.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.4154, allocations: 4 kB / 406.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007398/0.4161, allocations: 257.7 kB / 406.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4162, allocations: 51.41 kB / 406.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4164, allocations: 186.4 kB / 407 MB, free: 2.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.4164, allocations: 25.7 kB / 407 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.4165, allocations: 116.2 kB / 407.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.4166, allocations: 51.3 kB / 407.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.4166, allocations: 41.62 kB / 407.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4168, allocations: 322.8 kB / 407.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.417, allocations: 63.95 kB / 407.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.4172, allocations: 90.52 kB / 407.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.4176, allocations: 174.4 kB / 407.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4176, allocations: 0 / 407.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004566/0.418, allocations: 217.3 kB / 408.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4181, allocations: 7.938 kB / 408.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4181, allocations: 0 / 408.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.4181, allocations: 8.062 kB / 408.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.4184, allocations: 35.97 kB / 408.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4184, allocations: 0 / 408.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4185, allocations: 19.83 kB / 408.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.4186, allocations: 8 kB / 408.2 MB, free: 1.141 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.0001201/0.4187, allocations: 133.8 kB / 408.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.4187, allocations: 19.75 kB / 408.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.4193, allocations: 250.9 kB / 408.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4194, allocations: 0 / 408.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4194, allocations: 4 kB / 408.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4194, allocations: 3.984 kB / 408.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.4197, allocations: 269.4 kB / 408.8 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.4197, allocations: 3.984 kB / 408.8 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.4199, allocations: 43.91 kB / 408.9 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4199, allocations: 3.938 kB / 408.9 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.42, allocations: 11.98 kB / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.42, allocations: 0 / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.42, allocations: 0 / 408.9 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.4205, allocations: 321.8 kB / 409.2 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.4206, allocations: 92.89 kB / 409.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4206, allocations: 0 / 409.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4208, allocations: 15.98 kB / 409.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.4209, allocations: 15.89 kB / 409.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4209, allocations: 11.98 kB / 409.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.421, allocations: 148.2 kB / 409.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.421, allocations: 0 / 409.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.4213, allocations: 24 kB / 409.5 MB, free: 15.69 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.0001559/0.4215, allocations: 107.2 kB / 409.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.4221, allocations: 171.8 kB / 409.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4221, allocations: 0 / 409.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.4224, allocations: 103.8 kB / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4228, allocations: 15.94 kB / 409.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.4234, allocations: 331.5 kB / 410.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4237, allocations: 0.728 MB / 411 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.4239, allocations: 33.41 kB / 411 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.4239, allocations: 27.42 kB / 411 MB, free: 14.13 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4239, allocations: 0 / 411 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Templates: time 0.005199/0.4292, allocations: 1.981 MB / 413 MB, free: 12.16 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