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.001486/0.001486, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.001561/0.001561, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.41/1.41, allocations: 230.5 MB / 255.4 MB, free: 14.97 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.001867/0.001867, allocations: 67.89 kB / 374.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09938, allocations: 53.31 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002998/0.1024, allocations: 1.708 MB / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1038, allocations: 0.7749 MB / 430.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.1039, allocations: 4 kB / 430.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1041, allocations: 55.72 kB / 430.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1043, allocations: 35.72 kB / 430.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.1053, allocations: 0.5019 MB / 431.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1055, allocations: 119.5 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1056, allocations: 25.55 kB / 431.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1057, allocations: 55.77 kB / 431.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1059, allocations: 91.59 kB / 431.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.106, allocations: 12 kB / 431.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.1062, allocations: 123.9 kB / 431.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.1063, allocations: 35.91 kB / 431.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.1064, allocations: 67.53 kB / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1067, allocations: 199.2 kB / 431.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1067, allocations: 0 / 431.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1067, allocations: 0 / 431.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1067, allocations: 0 / 431.8 MB, free: 0.5586 MB / 350.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.2013/0.308, allocations: 0.5326 MB / 432.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.308, allocations: 9.406 kB / 432.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007668/0.3088, allocations: 100.1 kB / 432.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3089, allocations: 205.7 kB / 432.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.309, allocations: 8.719 kB / 432.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.309, allocations: 8.062 kB / 432.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003834/0.3094, allocations: 158.7 kB / 432.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3094, allocations: 4.172 kB / 432.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.3094, allocations: 7.438 kB / 432.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.3094, allocations: 6.5 kB / 432.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.3098, allocations: 160.1 kB / 433 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.3107, allocations: 0.5556 MB / 433.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.3111, allocations: 138.6 kB / 433.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.3112, allocations: 62.12 kB / 433.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3113, allocations: 2 kB / 433.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3113, allocations: 38.06 kB / 433.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.3113, allocations: 2.938 kB / 433.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005795/0.3119, allocations: 215.2 kB / 434 MB, free: 10.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3119, allocations: 54.34 kB / 434.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3121, allocations: 208.4 kB / 434.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3121, allocations: 28.95 kB / 434.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.3121, allocations: 124.9 kB / 434.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3122, allocations: 32.33 kB / 434.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3122, allocations: 36.3 kB / 434.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.3123, allocations: 333.1 kB / 434.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3124, allocations: 55.19 kB / 434.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3126, allocations: 90.56 kB / 435 MB, free: 10.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.3129, allocations: 158.3 kB / 435.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3129, allocations: 1.281 kB / 435.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003861/0.3132, allocations: 194.2 kB / 435.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3133, allocations: 7.594 kB / 435.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3133, allocations: 1.875 kB / 435.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3133, allocations: 2.688 kB / 435.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3134, allocations: 32.84 kB / 435.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.3135, allocations: 5.781 kB / 435.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3136, allocations: 26.02 kB / 435.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3136, allocations: 4.406 kB / 435.4 MB, free: 9.969 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 8.251e-05/0.3137, allocations: 132.2 kB / 435.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.3137, allocations: 19.31 kB / 435.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.3141, allocations: 187.1 kB / 435.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3141, allocations: 5.188 kB / 435.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3141, allocations: 0 / 435.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3142, allocations: 3.281 kB / 435.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3144, allocations: 245.5 kB / 436 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3144, allocations: 1.125 kB / 436 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3145, allocations: 27.66 kB / 436 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3145, allocations: 1.406 kB / 436 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3145, allocations: 5.438 kB / 436 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3145, allocations: 0 / 436 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3145, allocations: 1.125 kB / 436 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.3149, allocations: 265.7 kB / 436.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.315, allocations: 112.8 kB / 436.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.315, allocations: 0 / 436.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3151, allocations: 11.62 kB / 436.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.3152, allocations: 11.36 kB / 436.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3152, allocations: 6.531 kB / 436.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3153, allocations: 156 kB / 436.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3153, allocations: 0 / 436.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3156, allocations: 22.72 kB / 436.6 MB, free: 9.285 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.0001224/0.3157, allocations: 110.1 kB / 436.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.3161, allocations: 131.9 kB / 436.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3161, allocations: 1.25 kB / 436.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3162, allocations: 73.48 kB / 436.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3165, allocations: 24.81 kB / 436.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.3171, allocations: 348.3 kB / 437.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3173, allocations: 0.7217 MB / 438 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.3173, allocations: 23.89 kB / 438 MB, free: 8.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3173, allocations: 0.6562 kB / 438 MB, free: 8.199 MB / 350.1 MB Notification: Performance of Templates: time 0.004364/0.3217, allocations: 2.025 MB / 440 MB, free: 8.082 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: 6.727620838908479]