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.001466/0.001466, allocations: 76.81 kB / 22.28 MB, free: 2.207 MB / 18.57 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.001608/0.001608, allocations: 163.3 kB / 25.7 MB, free: 8.438 MB / 18.57 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 0.8776/0.8776, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 251.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.538e-05, allocations: 6.25 kB / 251.5 MB, free: 7.312 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002044/0.002069, allocations: 1.602 MB / 253.1 MB, free: 5.699 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.00332, allocations: 0.69 MB / 253.8 MB, free: 5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.003368, allocations: 0 / 253.8 MB, free: 5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.003581, allocations: 51.72 kB / 253.8 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.003741, allocations: 39.67 kB / 253.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.004508, allocations: 0.6028 MB / 254.5 MB, free: 4.305 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.004657, allocations: 111.7 kB / 254.6 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.751e-05/0.004735, allocations: 21.94 kB / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.004871, allocations: 75.8 kB / 254.7 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.004995, allocations: 63.86 kB / 254.7 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.005015, allocations: 8 kB / 254.8 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.005177, allocations: 115.8 kB / 254.9 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.005226, allocations: 35.89 kB / 254.9 MB, free: 3.883 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.00526, allocations: 39.84 kB / 254.9 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.005492, allocations: 203.3 kB / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005494, allocations: 0 / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005495, allocations: 0 / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.005498, allocations: 0 / 255.1 MB, free: 3.645 MB / 234.7 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.0007602/0.006258, allocations: 475.9 kB / 255.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.006286, allocations: 15.98 kB / 255.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000714/0.007, allocations: 216.7 kB / 255.8 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.00712, allocations: 137.5 kB / 256 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.007134, allocations: 16.23 kB / 256 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.007151, allocations: 12.38 kB / 256 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.007324, allocations: 137.6 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.007331, allocations: 192 / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.007343, allocations: 384 / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.007364, allocations: 15.94 kB / 256.1 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.007435, allocations: 39.97 kB / 256.2 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.007849, allocations: 310.7 kB / 256.5 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.007986, allocations: 140.1 kB / 256.6 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.008026, allocations: 31.67 kB / 256.7 MB, free: 2.039 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.008043, allocations: 15.94 kB / 256.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.008062, allocations: 34.55 kB / 256.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.008063, allocations: 0 / 256.7 MB, free: 1.98 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001643/0.008227, allocations: 97.91 kB / 256.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.008253, allocations: 51.41 kB / 256.8 MB, free: 1.816 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.008325, allocations: 151.1 kB / 257 MB, free: 1.656 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.008338, allocations: 29.7 kB / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.008381, allocations: 111.9 kB / 257.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.008405, allocations: 47.62 kB / 257.2 MB, free: 1.457 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.008445, allocations: 29.69 kB / 257.2 MB, free: 1.422 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.008513, allocations: 326.8 kB / 257.5 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.008547, allocations: 26.75 kB / 257.6 MB, free: 1.066 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.008587, allocations: 42.06 kB / 257.6 MB, free: 1.02 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.127e-05/0.008669, allocations: 73.34 kB / 257.7 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00867, allocations: 0 / 257.7 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001156/0.008786, allocations: 98.03 kB / 257.8 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008798, allocations: 11.94 kB / 257.8 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.008802, allocations: 3.938 kB / 257.8 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.008811, allocations: 64 / 257.8 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.008913, allocations: 35.97 kB / 257.8 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008917, allocations: 3.938 kB / 257.8 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.008962, allocations: 15.89 kB / 257.8 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.008973, allocations: 7.984 kB / 257.8 MB, free: 0.7578 MB / 234.7 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 6.005e-05/0.009033, allocations: 116.6 kB / 258 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.009054, allocations: 12 kB / 258 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.009205, allocations: 122.3 kB / 258.1 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.009208, allocations: 4 kB / 258.1 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.00921, allocations: 3.938 kB / 258.1 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.009212, allocations: 4 kB / 258.1 MB, free: 492 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.009336, allocations: 125.7 kB / 258.2 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009337, allocations: 0 / 258.2 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.00942, allocations: 35.92 kB / 258.3 MB, free: 312 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.009422, allocations: 0 / 258.3 MB, free: 312 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.009431, allocations: 11.98 kB / 258.3 MB, free: 300 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.009433, allocations: 4 kB / 258.3 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009434, allocations: 0 / 258.3 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.009573, allocations: 245.3 kB / 258.5 MB, free: 36 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.00959, allocations: 19.83 kB / 258.5 MB, free: 16 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.009604, allocations: 8 kB / 258.5 MB, free: 8 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.009677, allocations: 12.03 kB / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.00971, allocations: 15.92 kB / 258.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.009717, allocations: 0 / 258.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.744e-05/0.009745, allocations: 36.89 kB / 258.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009745, allocations: 0 / 258.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.009886, allocations: 28 kB / 258.6 MB, free: 15.91 MB / 250.7 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 9.266e-05/0.009978, allocations: 92.34 kB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01008, allocations: 76.64 kB / 258.8 MB, free: 15.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01009, allocations: 4 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.01013, allocations: 48.77 kB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.01028, allocations: 16 kB / 258.9 MB, free: 15.67 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.01074, allocations: 295 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.01078, allocations: 79.83 kB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.653e-05/0.01083, allocations: 21.08 kB / 259.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.01091, allocations: 71.36 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01091, allocations: 0 / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of Templates: time 0.003635/0.01455, allocations: 2.036 MB / 261.4 MB, free: 13.14 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.587052688933909]