Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000866/0.000866, allocations: 147.1 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.923/0.923, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.4 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.218e-05, allocations: 6.25 kB / 268.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00301/0.003032, allocations: 1.654 MB / 270.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.004379, allocations: 0.6385 MB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.004457, allocations: 4 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.004731, allocations: 55.59 kB / 270.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.004947, allocations: 39.72 kB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.006149, allocations: 0.5716 MB / 271.4 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.006389, allocations: 107.7 kB / 271.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.006493, allocations: 21.95 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.006669, allocations: 79.73 kB / 271.6 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.006841, allocations: 79.78 kB / 271.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.006867, allocations: 8 kB / 271.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.007061, allocations: 95.86 kB / 271.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.007126, allocations: 39.84 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.007174, allocations: 31.91 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.007815, allocations: 195.3 kB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007818, allocations: 0 / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007819, allocations: 0 / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.007825, allocations: 3.984 kB / 272 MB, free: 2.434 MB / 250.7 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.001111/0.008936, allocations: 468 kB / 272.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.008974, allocations: 12.92 kB / 272.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.01007, allocations: 192.7 kB / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.01025, allocations: 137.5 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.01027, allocations: 12.23 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.01029, allocations: 8.375 kB / 272.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.01055, allocations: 129.7 kB / 273 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01056, allocations: 4.172 kB / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01058, allocations: 8.375 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.0106, allocations: 7.938 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.01072, allocations: 47.97 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.01137, allocations: 318.6 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.01158, allocations: 139.6 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.01164, allocations: 35.67 kB / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.01166, allocations: 0 / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.01168, allocations: 34.56 kB / 273.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.01169, allocations: 0 / 273.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002512/0.01194, allocations: 105.8 kB / 273.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.01197, allocations: 59.41 kB / 273.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.01208, allocations: 142.6 kB / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01209, allocations: 29.7 kB / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.01215, allocations: 115.9 kB / 274 MB, free: 340 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.01219, allocations: 43.58 kB / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.01225, allocations: 37.67 kB / 274.1 MB, free: 252 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01236, allocations: 326.8 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.01241, allocations: 18.81 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.01248, allocations: 42.55 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.01261, allocations: 81.3 kB / 274.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01261, allocations: 0 / 274.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001696/0.01278, allocations: 100.4 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.0128, allocations: 4 kB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.0128, allocations: 0 / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01281, allocations: 4 kB / 274.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.01297, allocations: 31.91 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01298, allocations: 3.938 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.01306, allocations: 19.88 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.01307, allocations: 8.062 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.244e-05/0.01315, allocations: 116.7 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.01319, allocations: 11.98 kB / 274.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.01343, allocations: 129.4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01343, allocations: 0 / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01344, allocations: 7.922 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01344, allocations: 0 / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.01364, allocations: 125.7 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01364, allocations: 0 / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.01379, allocations: 35.97 kB / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01379, allocations: 0 / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.01381, allocations: 7.984 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01381, allocations: 0 / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01381, allocations: 0 / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.01404, allocations: 254 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.01406, allocations: 15.91 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01408, allocations: 0 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01419, allocations: 8 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.01423, allocations: 11.97 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01424, allocations: 11.98 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.01429, allocations: 39.77 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01429, allocations: 0 / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.01457, allocations: 27.94 kB / 275.5 MB, free: 14.75 MB / 266.7 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 (18): * Single equations (assignments): 18 * 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.0001247/0.01469, allocations: 92.34 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01485, allocations: 72.64 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01486, allocations: 4 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.01493, allocations: 48.75 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.01514, allocations: 26.58 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.0158, allocations: 299.8 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.01586, allocations: 75.83 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.01594, allocations: 17.27 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.01607, allocations: 83.38 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01607, allocations: 0 / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Templates: time 0.004794/0.02086, allocations: 2.047 MB / 278.2 MB, free: 11.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.653384074103087]