Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 70.48 kB / 347.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3539, allocations: 49.15 MB / 396.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002944/0.3569, allocations: 1.56 MB / 398.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3582, allocations: 0.6545 MB / 399 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.3582, allocations: 2.094 kB / 399 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.3585, allocations: 44.3 kB / 399.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.3588, allocations: 44.92 kB / 399.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3601, allocations: 0.5785 MB / 399.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3603, allocations: 113.5 kB / 399.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3605, allocations: 22.69 kB / 399.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3606, allocations: 65.12 kB / 399.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.3608, allocations: 67.58 kB / 400 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.3608, allocations: 12.91 kB / 400 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.3611, allocations: 110.9 kB / 400.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.3612, allocations: 44.06 kB / 400.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.3612, allocations: 43.02 kB / 400.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.3616, allocations: 227.7 kB / 400.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3616, allocations: 0 / 400.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3616, allocations: 0 / 400.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3616, allocations: 1.703 kB / 400.4 MB, free: 7.188 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.001604/0.3632, allocations: 0.4918 MB / 400.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3632, allocations: 15.33 kB / 400.9 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.3647, allocations: 190.8 kB / 401.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3649, allocations: 157.7 kB / 401.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3649, allocations: 12.39 kB / 401.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.365, allocations: 11.89 kB / 401.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.3654, allocations: 175 kB / 401.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3654, allocations: 0 / 401.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3654, allocations: 1.469 kB / 401.4 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.3654, allocations: 9.859 kB / 401.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.3658, allocations: 162.5 kB / 401.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.3667, allocations: 453.5 kB / 402.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3671, allocations: 159.4 kB / 402.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3673, allocations: 85.39 kB / 402.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3673, allocations: 1.969 kB / 402.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3673, allocations: 36.84 kB / 402.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3673, allocations: 4 kB / 402.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007354/0.3681, allocations: 271.6 kB / 402.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3681, allocations: 52.31 kB / 402.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3682, allocations: 154.1 kB / 402.8 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3682, allocations: 29.64 kB / 402.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3683, allocations: 123.6 kB / 403 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3683, allocations: 40.84 kB / 403 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.3684, allocations: 34.23 kB / 403 MB, free: 5.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.3684, allocations: 325.9 kB / 403.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3686, allocations: 71.95 kB / 403.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3688, allocations: 88.09 kB / 403.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3692, allocations: 169.5 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3692, allocations: 0 / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004731/0.3697, allocations: 213.1 kB / 403.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3697, allocations: 5.062 kB / 403.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3697, allocations: 1.312 kB / 403.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3697, allocations: 2.016 kB / 403.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.37, allocations: 37.44 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.37, allocations: 2.188 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.3701, allocations: 16.42 kB / 403.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3701, allocations: 6.406 kB / 403.9 MB, free: 4.969 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.0001062/0.3702, allocations: 139.6 kB / 404.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.3703, allocations: 17.61 kB / 404.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.3709, allocations: 236.6 kB / 404.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3709, allocations: 2.953 kB / 404.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3709, allocations: 1.031 kB / 404.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3709, allocations: 1.359 kB / 404.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.3713, allocations: 194.1 kB / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3713, allocations: 0 / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.3715, allocations: 44.41 kB / 404.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3715, allocations: 5.375 kB / 404.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3715, allocations: 3.188 kB / 404.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3716, allocations: 1.375 kB / 404.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3716, allocations: 0.7969 kB / 404.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.3721, allocations: 324.3 kB / 404.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.3722, allocations: 10.45 kB / 404.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.3722, allocations: 9.734 kB / 404.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.3723, allocations: 16.06 kB / 404.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.3724, allocations: 16.09 kB / 404.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3724, allocations: 5.562 kB / 404.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3725, allocations: 119 kB / 405.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 1.125 kB / 405.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.3729, allocations: 33.58 kB / 405.1 MB, free: 4.223 MB / 318.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.0001754/0.373, allocations: 101.4 kB / 405.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.3735, allocations: 171.6 kB / 405.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3735, allocations: 0 / 405.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3738, allocations: 91.47 kB / 405.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3741, allocations: 26.52 kB / 405.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006728/0.3748, allocations: 316.8 kB / 405.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.3749, allocations: 118.5 kB / 405.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3751, allocations: 29.3 kB / 405.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.3751, allocations: 21.06 kB / 406 MB, free: 3.734 MB / 318.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3751, allocations: 0 / 406 MB, free: 3.734 MB / 318.1 MB Notification: Performance of Templates: time 0.006202/0.3813, allocations: 1.987 MB / 407.9 MB, free: 3.223 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.066470602527261]