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.001529/0.001529, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001676/0.001676, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2797, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003296/0.283, allocations: 1.735 MB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2844, allocations: 0.771 MB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.2845, allocations: 0 / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.2848, allocations: 51.72 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.2849, allocations: 43.72 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2861, allocations: 0.5134 MB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.2864, allocations: 123.6 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2865, allocations: 21.73 kB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.2866, allocations: 63.77 kB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.2869, allocations: 83.61 kB / 435.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2869, allocations: 12 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.2873, allocations: 123.9 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.2873, allocations: 43.78 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.2874, allocations: 63.59 kB / 435.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.2878, allocations: 195.7 kB / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2878, allocations: 0 / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2878, allocations: 0 / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2878, allocations: 7.938 kB / 435.7 MB, free: 3.039 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.001281/0.2891, allocations: 469.3 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2891, allocations: 12.03 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.061e-05/0.2891, allocations: 4.188 kB / 436.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.2892, allocations: 46.75 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006503/0.2898, allocations: 100.7 kB / 436.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2901, allocations: 167.8 kB / 436.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2901, allocations: 8.375 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.2901, allocations: 8.375 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.2905, allocations: 166.3 kB / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2905, allocations: 4 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2905, allocations: 4 kB / 436.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.2906, allocations: 8 kB / 436.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.291, allocations: 151.9 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.292, allocations: 0.5306 MB / 437.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.2925, allocations: 142.5 kB / 437.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.2926, allocations: 56.83 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2927, allocations: 0 / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2927, allocations: 42.55 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2927, allocations: 4 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006378/0.2933, allocations: 213.6 kB / 437.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.2934, allocations: 59.33 kB / 437.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2936, allocations: 211.8 kB / 438.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.2937, allocations: 29.7 kB / 438.1 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2938, allocations: 116.2 kB / 438.2 MB, free: 360 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.2938, allocations: 43.67 kB / 438.3 MB, free: 316 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.2939, allocations: 33.7 kB / 438.3 MB, free: 276 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2941, allocations: 326.8 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2943, allocations: 55.95 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.2944, allocations: 84.25 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.2948, allocations: 160.2 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.2948, allocations: 3.938 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004336/0.2952, allocations: 193.4 kB / 439.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2953, allocations: 4 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2953, allocations: 4 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2953, allocations: 3.938 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.2955, allocations: 35.97 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2955, allocations: 0 / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2956, allocations: 19.88 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2956, allocations: 4.125 kB / 439.2 MB, free: 15.35 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.0001423/0.2957, allocations: 153.6 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.2958, allocations: 15.86 kB / 439.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.2963, allocations: 183.4 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2963, allocations: 0 / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2963, allocations: 0 / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2963, allocations: 4 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.2966, allocations: 220.6 kB / 439.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2966, allocations: 3.938 kB / 439.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2967, allocations: 31.92 kB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2967, allocations: 0 / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2967, allocations: 0 / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2967, allocations: 0 / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2967, allocations: 0 / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.2972, allocations: 279.3 kB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.2973, allocations: 27.89 kB / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.2973, allocations: 0 / 440.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2974, allocations: 7.984 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.2975, allocations: 11.98 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2975, allocations: 4 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.2976, allocations: 152.5 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2976, allocations: 0 / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.2979, allocations: 31.89 kB / 440.3 MB, free: 14.17 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.0008172/0.2987, allocations: 0.8137 MB / 441.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.2992, allocations: 131.8 kB / 441.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2992, allocations: 0 / 441.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2993, allocations: 67.89 kB / 441.3 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.0003295/0.2997, allocations: 19.98 kB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.3026, allocations: 2.147 MB / 443.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.303, allocations: 0.7278 MB / 444.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3031, allocations: 33.41 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.3032, allocations: 43.42 kB / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3032, allocations: 0 / 444.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3267, allocations: 3.669 MB / 447.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.23, allocations: 17.81 kB / 448 MB, free: 6.496 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.684395999007393]