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.001591/0.001591, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001731/0.001731, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001588/0.001588, allocations: 51.92 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2231, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003042/0.2261, allocations: 1.683 MB / 434 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2275, allocations: 0.7127 MB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.2276, allocations: 0 / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.2279, allocations: 51.72 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.2281, allocations: 39.72 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2292, allocations: 478.1 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.2294, allocations: 127.5 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2295, allocations: 20.64 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2296, allocations: 67.75 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2298, allocations: 87.61 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.2299, allocations: 8 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.2301, allocations: 123.9 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.2302, allocations: 39.84 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.2302, allocations: 55.66 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.2306, allocations: 195 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2306, allocations: 0 / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2306, allocations: 0 / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.2306, allocations: 0 / 436 MB, free: 3.035 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.00128/0.2318, allocations: 477.2 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.2319, allocations: 8.031 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.2326, allocations: 104.7 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.2328, allocations: 162.3 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2329, allocations: 8.375 kB / 436.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2329, allocations: 8.375 kB / 436.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.2333, allocations: 168.2 kB / 436.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.2333, allocations: 4 kB / 436.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2333, allocations: 4 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.2333, allocations: 11.94 kB / 436.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.2338, allocations: 151.9 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.2347, allocations: 464 kB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.2351, allocations: 142.6 kB / 437.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2353, allocations: 60.81 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2354, allocations: 4 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2354, allocations: 34.5 kB / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.2354, allocations: 0 / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006548/0.236, allocations: 209.7 kB / 438 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2361, allocations: 51.41 kB / 438 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2363, allocations: 183.2 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2363, allocations: 34.08 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.2364, allocations: 131.8 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.2364, allocations: 31.73 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.2365, allocations: 33.66 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2366, allocations: 326.8 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2368, allocations: 59.89 kB / 438.8 MB, free: 56 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.2371, allocations: 95.55 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.2375, allocations: 156.1 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2375, allocations: 0 / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005522/0.2381, allocations: 185.4 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2381, allocations: 20.05 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2381, allocations: 4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2381, allocations: 4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.2383, allocations: 27.92 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2383, allocations: 4 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2384, allocations: 15.88 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2384, allocations: 8 kB / 439.3 MB, free: 15.51 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.0001189/0.2386, allocations: 129.8 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.2386, allocations: 15.84 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.2392, allocations: 190.9 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2392, allocations: 0 / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2392, allocations: 0 / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.708e-05/0.2393, allocations: 19.94 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2393, allocations: 4 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2395, allocations: 7.984 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2396, allocations: 11.98 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007097/0.2403, allocations: 252.8 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006463/0.2409, allocations: 338.5 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002378/0.2412, allocations: 55.95 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.2413, allocations: 131.9 kB / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Backend: time 4.2e-07/0.2413, allocations: 96 / 440.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.2422, allocations: 200.7 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009531/0.2432, allocations: 0.7418 MB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Templates: time 0.009023/0.2522, allocations: 2.941 MB / 444.3 MB, free: 10.44 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/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: 4.360007982999377]