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.001415/0.001415, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00154/0.00154, allocations: 209.8 kB / 23.73 MB, free: 4.523 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 1.653/1.653, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001534/0.001534, allocations: 51.91 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2931, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003037/0.2961, allocations: 1.671 MB / 433.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2974, allocations: 0.7088 MB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.2975, allocations: 4 kB / 433.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.2977, allocations: 51.72 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.2978, allocations: 39.7 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2989, allocations: 486 kB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.2991, allocations: 127.5 kB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2992, allocations: 25.72 kB / 434.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2993, allocations: 55.72 kB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2995, allocations: 91.66 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.2996, allocations: 8 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.2998, allocations: 119.9 kB / 434.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.2999, allocations: 47.77 kB / 435 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.3, allocations: 43.73 kB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.3003, allocations: 205.5 kB / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3003, allocations: 0 / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3003, allocations: 0 / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3003, allocations: 0 / 435.2 MB, free: 3.07 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.001255/0.3015, allocations: 477.3 kB / 435.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3016, allocations: 8.031 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/0.3022, allocations: 104.7 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3025, allocations: 162.2 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3025, allocations: 8.375 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3025, allocations: 8.375 kB / 436 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.3029, allocations: 168.3 kB / 436.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3029, allocations: 0 / 436.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3029, allocations: 8 kB / 436.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3029, allocations: 7.938 kB / 436.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.3033, allocations: 155.9 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009665/0.3043, allocations: 471.9 kB / 436.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.3047, allocations: 138.6 kB / 436.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3049, allocations: 56.83 kB / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3049, allocations: 0 / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3049, allocations: 46.48 kB / 437 MB, free: 1.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.3049, allocations: 192 / 437 MB, free: 1.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006067/0.3055, allocations: 201.4 kB / 437.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3056, allocations: 67.33 kB / 437.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3057, allocations: 179.2 kB / 437.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3058, allocations: 29.7 kB / 437.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.3059, allocations: 127.8 kB / 437.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3059, allocations: 31.73 kB / 437.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.3059, allocations: 37.66 kB / 437.7 MB, free: 480 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3061, allocations: 322.8 kB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3062, allocations: 51.97 kB / 438 MB, free: 96 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3065, allocations: 94.48 kB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.3068, allocations: 160.2 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3068, allocations: 0 / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004361/0.3072, allocations: 193.5 kB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3073, allocations: 7.938 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3073, allocations: 4 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3073, allocations: 0 / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3075, allocations: 31.97 kB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3075, allocations: 0 / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3076, allocations: 19.89 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3076, allocations: 11.98 kB / 438.5 MB, free: 15.55 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.0001166/0.3078, allocations: 129.8 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.3078, allocations: 20.34 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.3083, allocations: 178.9 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3083, allocations: 4 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3083, allocations: 0 / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3083, allocations: 0 / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3085, allocations: 177.2 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3085, allocations: 4 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.3087, allocations: 27.91 kB / 439.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3087, allocations: 3.938 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3087, allocations: 8 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3087, allocations: 3.938 kB / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3087, allocations: 0 / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3091, allocations: 259.4 kB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.3092, allocations: 23.89 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3092, allocations: 3.938 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3094, allocations: 11.98 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.3094, allocations: 7.984 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3094, allocations: 8 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3095, allocations: 131.9 kB / 439.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3095, allocations: 0 / 439.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.3098, allocations: 27.94 kB / 439.5 MB, free: 14.47 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.0001417/0.31, allocations: 107.1 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.3104, allocations: 139.8 kB / 439.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3104, allocations: 0 / 439.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3106, allocations: 67.89 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3109, allocations: 24.95 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.3115, allocations: 326 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3116, allocations: 111 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.929e-05/0.3117, allocations: 32.42 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.3118, allocations: 15.42 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3118, allocations: 0 / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.005082/0.3169, allocations: 1.709 MB / 442.1 MB, free: 11.94 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/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: 4.645418928936124]