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.001279/0.001279, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001376/0.001376, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.431/1.431, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.00207/0.00207, allocations: 71.83 kB / 378.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3047, allocations: 53.32 MB / 432 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003163/0.3078, allocations: 1.725 MB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3094, allocations: 0.7749 MB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.3094, allocations: 4 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.3097, allocations: 51.72 kB / 434.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.3099, allocations: 43.7 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3109, allocations: 0.498 MB / 435.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3111, allocations: 127.5 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.3112, allocations: 21.55 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.3113, allocations: 55.72 kB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.3116, allocations: 95.64 kB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3116, allocations: 8 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.3118, allocations: 123.9 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.3119, allocations: 39.78 kB / 435.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.312, allocations: 55.61 kB / 435.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.3123, allocations: 213.1 kB / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3123, allocations: 0 / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3123, allocations: 0 / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3123, allocations: 7.938 kB / 435.9 MB, free: 3.586 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.001355/0.3137, allocations: 0.5258 MB / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3137, allocations: 8.031 kB / 436.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006959/0.3144, allocations: 108.7 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3146, allocations: 200 kB / 436.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3147, allocations: 8.375 kB / 436.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.3147, allocations: 8.375 kB / 436.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.3151, allocations: 166.4 kB / 436.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3151, allocations: 0 / 436.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.3151, allocations: 7.984 kB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.3151, allocations: 8 kB / 436.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.3155, allocations: 155.9 kB / 437 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3166, allocations: 0.5587 MB / 437.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.317, allocations: 138.6 kB / 437.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.3172, allocations: 64.75 kB / 437.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3172, allocations: 4 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3173, allocations: 38.5 kB / 437.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3173, allocations: 192 / 437.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006403/0.3179, allocations: 217.4 kB / 438 MB, free: 1.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3179, allocations: 55.34 kB / 438.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3182, allocations: 215.1 kB / 438.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3182, allocations: 25.7 kB / 438.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.3183, allocations: 120.2 kB / 438.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3183, allocations: 35.7 kB / 438.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3184, allocations: 29.7 kB / 438.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3185, allocations: 330.8 kB / 438.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3187, allocations: 55.95 kB / 438.9 MB, free: 328 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3189, allocations: 91.38 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.3192, allocations: 160.5 kB / 439.1 MB, free: 48 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3192, allocations: 0 / 439.1 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004564/0.3197, allocations: 197.4 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3197, allocations: 8.031 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3197, allocations: 7.938 kB / 439.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3197, allocations: 0 / 439.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.3199, allocations: 31.98 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3199, allocations: 0 / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3201, allocations: 19.88 kB / 439.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3201, allocations: 4 kB / 439.4 MB, free: 15.78 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.0001255/0.3202, allocations: 137.8 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.3202, allocations: 27.8 kB / 439.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/0.3207, allocations: 178.9 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3207, allocations: 0 / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3207, allocations: 0 / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3208, allocations: 104.9 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3209, allocations: 11.98 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.321, allocations: 4 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3211, allocations: 11.98 kB / 439.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005074/0.3216, allocations: 248.7 kB / 440.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000478/0.322, allocations: 334.6 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001698/0.3222, allocations: 63.95 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3224, allocations: 160.2 kB / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.3224, allocations: 0 / 440.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006779/0.323, allocations: 186.2 kB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008215/0.3239, allocations: 0.7528 MB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Templates: time 0.006751/0.3306, allocations: 2.774 MB / 444.4 MB, free: 10.71 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 -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.44043385097757]