Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001772/0.001772, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 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.001831/0.001831, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.096/2.096, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 51.92 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2998, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003498/0.3033, allocations: 1.675 MB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.3143, allocations: 0.7049 MB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.3144, allocations: 4 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.3146, allocations: 51.7 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3149, allocations: 47.66 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3161, allocations: 474.2 kB / 435.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3163, allocations: 123.6 kB / 435.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3164, allocations: 20.69 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3165, allocations: 71.7 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3168, allocations: 87.61 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3168, allocations: 8 kB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.3171, allocations: 131.8 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.3171, allocations: 31.91 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.3172, allocations: 47.66 kB / 435.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.3176, allocations: 202.9 kB / 436 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3176, allocations: 4 kB / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3176, allocations: 0 / 436 MB, free: 3.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3176, allocations: 0 / 436 MB, free: 3.09 MB / 334.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.00154/0.3191, allocations: 469.3 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3192, allocations: 15.97 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009288/0.3201, allocations: 104.7 kB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3204, allocations: 170.2 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3204, allocations: 8.375 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3204, allocations: 4.375 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.3209, allocations: 162.7 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3209, allocations: 0 / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.3209, allocations: 4 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.321, allocations: 11.98 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.3215, allocations: 151.8 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.3226, allocations: 468 kB / 437.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.3263, allocations: 134.6 kB / 437.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005329/0.3317, allocations: 68.94 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3317, allocations: 7.922 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.3317, allocations: 42.5 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3317, allocations: 4 kB / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008369/0.3326, allocations: 205.5 kB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.3326, allocations: 55.41 kB / 438 MB, free: 0.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.3329, allocations: 179.2 kB / 438.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3329, allocations: 25.7 kB / 438.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.333, allocations: 135.8 kB / 438.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.333, allocations: 35.72 kB / 438.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.3331, allocations: 33.67 kB / 438.4 MB, free: 496 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3333, allocations: 326.8 kB / 438.7 MB, free: 160 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.3335, allocations: 55.95 kB / 438.8 MB, free: 104 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.3338, allocations: 88.31 kB / 438.9 MB, free: 16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.3343, allocations: 164.3 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3343, allocations: 4 kB / 439 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005836/0.3348, allocations: 193.4 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3349, allocations: 4 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3349, allocations: 4 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3349, allocations: 0 / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.3351, allocations: 27.98 kB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3351, allocations: 0 / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3353, allocations: 20.06 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3353, allocations: 11.94 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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.0001415/0.3355, allocations: 125.8 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.3355, allocations: 19.84 kB / 439.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.3362, allocations: 182.9 kB / 439.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3362, allocations: 7.938 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3362, allocations: 0 / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3362, allocations: 4 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.3365, allocations: 165.3 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3365, allocations: 0 / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3368, allocations: 27.98 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3368, allocations: 3.938 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3368, allocations: 3.984 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3368, allocations: 4 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3368, allocations: 0 / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.3374, allocations: 255.3 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.3374, allocations: 39.81 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3375, allocations: 3.938 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3377, allocations: 4 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.3377, allocations: 11.98 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3377, allocations: 7.984 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3379, allocations: 124 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3379, allocations: 0 / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.3383, allocations: 27.94 kB / 440.3 MB, free: 14.5 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001633/0.3384, allocations: 122.4 kB / 440.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.3389, allocations: 135.9 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.339, allocations: 0 / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.3392, allocations: 67.83 kB / 440.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3396, allocations: 31.45 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007725/0.3404, allocations: 318 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3405, allocations: 114.7 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.3406, allocations: 32.41 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.3407, allocations: 19.42 kB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3407, allocations: 0 / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.006086/0.3468, allocations: 1.694 MB / 442.8 MB, free: 11.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.942100061991368]