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.1 kB / 20.44 MB, free: 1.184 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.002196/0.002196, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001542/0.001542, allocations: 51.91 kB / 378.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3185, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003868/0.3224, allocations: 1.667 MB / 433.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3242, allocations: 0.7088 MB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.3242, allocations: 0 / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3245, allocations: 47.73 kB / 434 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.3248, allocations: 51.7 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.3262, allocations: 486 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3264, allocations: 115.6 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3266, allocations: 21.75 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.3267, allocations: 67.69 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.327, allocations: 83.61 kB / 434.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.327, allocations: 8 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.3273, allocations: 119.9 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.3274, allocations: 35.89 kB / 435 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.3275, allocations: 47.67 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.3278, allocations: 209.4 kB / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3279, allocations: 0 / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3279, allocations: 0 / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3279, allocations: 4 kB / 435.2 MB, free: 3.086 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.001572/0.3294, allocations: 465.3 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3295, allocations: 8.031 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009751/0.3304, allocations: 112.7 kB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3307, allocations: 162.2 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3308, allocations: 8.375 kB / 435.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.3308, allocations: 12.38 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.3313, allocations: 164.2 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3313, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3313, allocations: 4 kB / 436.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.3313, allocations: 8 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.3319, allocations: 159.9 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3331, allocations: 468 kB / 436.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.3336, allocations: 134.6 kB / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3338, allocations: 76.73 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3339, allocations: 0 / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3339, allocations: 38.5 kB / 437 MB, free: 1.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3339, allocations: 4 kB / 437 MB, free: 1.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008065/0.3347, allocations: 205.7 kB / 437.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3348, allocations: 51.41 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.335, allocations: 183.2 kB / 437.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.335, allocations: 25.7 kB / 437.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3351, allocations: 131.8 kB / 437.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.3352, allocations: 31.75 kB / 437.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.3353, allocations: 37.66 kB / 437.6 MB, free: 500 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3354, allocations: 322.8 kB / 438 MB, free: 168 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.3356, allocations: 59.95 kB / 438 MB, free: 108 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.3359, allocations: 88.19 kB / 438.1 MB, free: 4 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.3364, allocations: 156.2 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3364, allocations: 4 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005816/0.337, allocations: 189.4 kB / 438.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.337, allocations: 4.469 kB / 438.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.337, allocations: 0 / 438.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.337, allocations: 7.984 kB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3373, allocations: 31.92 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3373, allocations: 8.125 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3374, allocations: 23.88 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3375, allocations: 4 kB / 438.5 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.0001498/0.3376, allocations: 129.8 kB / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.3377, allocations: 19.84 kB / 438.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006032/0.3383, allocations: 190.7 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3383, allocations: 0 / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3383, allocations: 0 / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3383, allocations: 8 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.3386, allocations: 169.2 kB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3386, allocations: 0 / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.3388, allocations: 23.98 kB / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3388, allocations: 3.938 kB / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3388, allocations: 4 kB / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3388, allocations: 0 / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3388, allocations: 0 / 439.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.3394, allocations: 271.2 kB / 439.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.3395, allocations: 23.89 kB / 439.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.3395, allocations: 7.938 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3397, allocations: 7.984 kB / 439.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.3397, allocations: 7.984 kB / 439.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3398, allocations: 8 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3399, allocations: 127.9 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3399, allocations: 0 / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.3403, allocations: 27.94 kB / 439.5 MB, free: 14.49 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.0001507/0.3405, allocations: 111.2 kB / 439.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.341, allocations: 135.7 kB / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.341, allocations: 0 / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3412, allocations: 64.2 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3416, allocations: 20.23 kB / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.3424, allocations: 321.9 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.3426, allocations: 114.8 kB / 440.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3427, allocations: 36.39 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3428, allocations: 15.44 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3428, allocations: 0 / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Templates: time 0.006242/0.3491, allocations: 1.664 MB / 442 MB, free: 12 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.706615323200822]