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.00179/0.00179, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002239/0.002239, allocations: 204.3 kB / 23.72 MB, free: 4.418 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.805 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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 43.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2671, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002964/0.2701, allocations: 1.675 MB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2714, allocations: 0.7204 MB / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.2715, allocations: 0 / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.2717, allocations: 51.72 kB / 433.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.2719, allocations: 47.7 kB / 433.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2729, allocations: 474.1 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.2731, allocations: 119.6 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2732, allocations: 17.73 kB / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2733, allocations: 63.77 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2735, allocations: 91.53 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2736, allocations: 8 kB / 434.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.2738, allocations: 115.9 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.2738, allocations: 31.92 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.2739, allocations: 59.58 kB / 434.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.2742, allocations: 197 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2742, allocations: 4 kB / 434.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2742, allocations: 3.938 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2742, allocations: 4 kB / 434.7 MB, free: 2.973 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.00127/0.2755, allocations: 465.3 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2756, allocations: 12.03 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.2756, allocations: 54.72 kB / 435.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.2763, allocations: 100.7 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2765, allocations: 158.3 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2765, allocations: 8.375 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2766, allocations: 12.31 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.277, allocations: 169.9 kB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.277, allocations: 0 / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.277, allocations: 4 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.277, allocations: 12 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.2774, allocations: 151.9 kB / 435.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2785, allocations: 499.5 kB / 436.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.2789, allocations: 146.4 kB / 436.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.2791, allocations: 68.81 kB / 436.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2791, allocations: 4 kB / 436.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2792, allocations: 34.56 kB / 436.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2792, allocations: 0 / 436.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006346/0.2798, allocations: 213.6 kB / 436.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.2799, allocations: 51.41 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.2801, allocations: 211.7 kB / 437 MB, free: 500 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2801, allocations: 37.7 kB / 437.1 MB, free: 456 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.2802, allocations: 124.2 kB / 437.2 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.2803, allocations: 35.67 kB / 437.2 MB, free: 288 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.2803, allocations: 33.66 kB / 437.3 MB, free: 248 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2805, allocations: 322.8 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.2807, allocations: 55.95 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.2808, allocations: 92.25 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2812, allocations: 160.5 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2812, allocations: 4 kB / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000427/0.2816, allocations: 193.3 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2816, allocations: 4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2816, allocations: 4.125 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2817, allocations: 7.984 kB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2818, allocations: 31.92 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2818, allocations: 0 / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.282, allocations: 23.88 kB / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.282, allocations: 8 kB / 438.1 MB, free: 15.31 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.000125/0.2821, allocations: 137.7 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.2821, allocations: 11.91 kB / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.2826, allocations: 190.9 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2826, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2826, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.2826, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2829, allocations: 204.6 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2829, allocations: 0 / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2831, allocations: 23.97 kB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2831, allocations: 7.938 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2831, allocations: 0 / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2831, allocations: 0 / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2831, allocations: 4 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.2835, allocations: 271.2 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.2836, allocations: 27.83 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2836, allocations: 0 / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2838, allocations: 11.98 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2838, allocations: 7.984 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.2838, allocations: 4 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.284, allocations: 156.5 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.284, allocations: 4 kB / 439.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.2842, allocations: 28.05 kB / 439.2 MB, free: 14.16 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.0007674/0.285, allocations: 0.806 MB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.2854, allocations: 135.8 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2854, allocations: 0 / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.2856, allocations: 67.89 kB / 440.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2859, allocations: 19.98 kB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2886, allocations: 2.147 MB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2888, allocations: 111.2 kB / 442.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.2889, allocations: 41.38 kB / 442.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.289, allocations: 43.42 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.289, allocations: 0 / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.3207, allocations: 4.099 MB / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.94, allocations: 15.31 kB / 446.7 MB, free: 6.684 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] 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: 13.330339406151325]