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.001825/0.001825, allocations: 108.6 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.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.002069/0.002069, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 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 1.428/1.428, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 43.92 kB / 371.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2835, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003239/0.2867, allocations: 1.655 MB / 425 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2881, allocations: 0.6621 MB / 425.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.2881, allocations: 4 kB / 425.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.2884, allocations: 47.72 kB / 425.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.2886, allocations: 39.72 kB / 425.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.2898, allocations: 0.6031 MB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.29, allocations: 115.7 kB / 426.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2901, allocations: 13.31 kB / 426.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2903, allocations: 71.69 kB / 426.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2904, allocations: 79.67 kB / 426.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.2905, allocations: 12 kB / 426.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.2907, allocations: 135.8 kB / 426.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.2908, allocations: 39.77 kB / 426.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.2908, allocations: 55.67 kB / 426.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.2912, allocations: 220.1 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2912, allocations: 4 kB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2912, allocations: 0 / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2912, allocations: 3.938 kB / 427.1 MB, free: 10.85 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.001595/0.2928, allocations: 497.4 kB / 427.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2928, allocations: 8.031 kB / 427.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.2928, allocations: 4.188 kB / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2929, allocations: 46.73 kB / 427.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.2942, allocations: 168.6 kB / 427.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2945, allocations: 166.2 kB / 428 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.2945, allocations: 8.375 kB / 428 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.2945, allocations: 12.38 kB / 428 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.295, allocations: 173.5 kB / 428.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.295, allocations: 0 / 428.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.295, allocations: 4 kB / 428.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.295, allocations: 11.97 kB / 428.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.2955, allocations: 163.9 kB / 428.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2965, allocations: 0.5033 MB / 428.9 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.2969, allocations: 150.5 kB / 429 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.2972, allocations: 88.8 kB / 429.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2972, allocations: 3.938 kB / 429.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.2972, allocations: 42.56 kB / 429.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2972, allocations: 0 / 429.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007574/0.298, allocations: 265 kB / 429.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.298, allocations: 59.41 kB / 429.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.2982, allocations: 182.3 kB / 429.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2983, allocations: 29.7 kB / 429.7 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2984, allocations: 112.2 kB / 429.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.2984, allocations: 51.56 kB / 429.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.2985, allocations: 37.69 kB / 429.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2987, allocations: 322.8 kB / 430.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.2989, allocations: 71.95 kB / 430.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.2991, allocations: 86.52 kB / 430.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.2995, allocations: 166.4 kB / 430.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2995, allocations: 4 kB / 430.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005125/0.3, allocations: 221.3 kB / 430.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3, allocations: 8 kB / 430.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3, allocations: 0 / 430.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3001, allocations: 0 / 430.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.3003, allocations: 31.97 kB / 430.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3003, allocations: 7.938 kB / 430.8 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3005, allocations: 23.94 kB / 430.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.3005, allocations: 8 kB / 430.8 MB, free: 6.969 MB / 334.1 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 0.0001314/0.3006, allocations: 129.8 kB / 430.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3007, allocations: 19.84 kB / 430.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.3013, allocations: 254.1 kB / 431.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3013, allocations: 0 / 431.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3013, allocations: 0 / 431.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3013, allocations: 7.984 kB / 431.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.3016, allocations: 244.6 kB / 431.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3016, allocations: 3.938 kB / 431.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.3018, allocations: 35.97 kB / 431.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3018, allocations: 3.984 kB / 431.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3018, allocations: 7.984 kB / 431.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3018, allocations: 4 kB / 431.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3018, allocations: 0 / 431.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.3024, allocations: 315.3 kB / 431.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.3024, allocations: 27.78 kB / 431.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3024, allocations: 0 / 431.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3026, allocations: 11.98 kB / 431.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.3027, allocations: 15.97 kB / 431.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3027, allocations: 11.94 kB / 431.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.3028, allocations: 140.2 kB / 432 MB, free: 5.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3028, allocations: 4 kB / 432 MB, free: 5.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.3031, allocations: 31.95 kB / 432 MB, free: 5.648 MB / 334.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 (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.0009678/0.3041, allocations: 0.8566 MB / 432.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.3046, allocations: 173.1 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3046, allocations: 0 / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3048, allocations: 91.88 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3051, allocations: 24.05 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.3081, allocations: 2.137 MB / 435.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3085, allocations: 0.728 MB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3086, allocations: 29.42 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3087, allocations: 51.39 kB / 436.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3087, allocations: 0 / 436.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.3354, allocations: 4.058 MB / 440.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.67, allocations: 11.33 kB / 440.2 MB, free: 13.5 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.13575789501192]