Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.561/1.561, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.83 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2701, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003157/0.2733, allocations: 1.726 MB / 433.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2747, allocations: 0.7711 MB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.2748, allocations: 4 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.2751, allocations: 55.7 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2752, allocations: 39.67 kB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2763, allocations: 0.5058 MB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.2765, allocations: 123.5 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2766, allocations: 17.55 kB / 435.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.2767, allocations: 63.7 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2769, allocations: 83.67 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.277, allocations: 12 kB / 435.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.2772, allocations: 127.8 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.2773, allocations: 39.83 kB / 435.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.2773, allocations: 59.61 kB / 435.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.2776, allocations: 212.7 kB / 435.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2776, allocations: 4 kB / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2776, allocations: 0 / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.2776, allocations: 0 / 435.8 MB, free: 3.543 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.00135/0.279, allocations: 0.5297 MB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.279, allocations: 12.03 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/0.2797, allocations: 104.7 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.2799, allocations: 200 kB / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2799, allocations: 8.375 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.28, allocations: 4.375 kB / 436.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.2803, allocations: 162.4 kB / 436.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2804, allocations: 4 kB / 436.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2804, allocations: 8 kB / 436.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2804, allocations: 4 kB / 436.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.2808, allocations: 155.9 kB / 437 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2819, allocations: 0.5704 MB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.2823, allocations: 130.6 kB / 437.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.2825, allocations: 64.77 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2825, allocations: 8.109 kB / 437.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2825, allocations: 38.5 kB / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.2825, allocations: 0 / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006247/0.2831, allocations: 213.4 kB / 438 MB, free: 1.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2832, allocations: 59.39 kB / 438.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.2834, allocations: 211.1 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2834, allocations: 25.7 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.2835, allocations: 120.2 kB / 438.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.2836, allocations: 39.69 kB / 438.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.2836, allocations: 33.7 kB / 438.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2838, allocations: 326.8 kB / 438.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.2839, allocations: 55.95 kB / 438.9 MB, free: 280 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.2841, allocations: 86.75 kB / 439 MB, free: 180 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.2845, allocations: 160.1 kB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2845, allocations: 4 kB / 439.1 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004499/0.2849, allocations: 201.3 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2849, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2849, allocations: 0 / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.285, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.2851, allocations: 31.97 kB / 439.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2852, allocations: 4 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.2853, allocations: 20.34 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2853, allocations: 8.125 kB / 439.4 MB, free: 15.73 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.0001305/0.2854, allocations: 133.8 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.2855, allocations: 23.8 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.2859, allocations: 182.9 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2859, allocations: 3.938 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2859, allocations: 0 / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2859, allocations: 0 / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.2862, allocations: 257.4 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2862, allocations: 7.938 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2864, allocations: 23.98 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2864, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2864, allocations: 4 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2864, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2864, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.2869, allocations: 267.2 kB / 440.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.287, allocations: 109 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.287, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2871, allocations: 4 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.2872, allocations: 15.92 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2872, allocations: 0 / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.2873, allocations: 156.2 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2873, allocations: 4 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2876, allocations: 27.95 kB / 440.6 MB, free: 14.43 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.0001354/0.2877, allocations: 107.2 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.2881, allocations: 127.8 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2881, allocations: 8.25 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2883, allocations: 63.83 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2886, allocations: 26.67 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2892, allocations: 325.8 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2895, allocations: 0.7317 MB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.2896, allocations: 29.39 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.2897, allocations: 31.36 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2897, allocations: 0 / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004788/0.2945, allocations: 1.679 MB / 443.7 MB, free: 11.26 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.587563854176551]