Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001444/0.001444, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001655/0.001655, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 51.92 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 49.17 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002881/0.2909, allocations: 1.606 MB / 397.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2922, allocations: 0.6935 MB / 398.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.2923, allocations: 2.656 kB / 398.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.2926, allocations: 48.08 kB / 398.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2928, allocations: 49.53 kB / 398.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2941, allocations: 0.631 MB / 399.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.2944, allocations: 104.8 kB / 399.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2945, allocations: 27.98 kB / 399.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2946, allocations: 63.75 kB / 399.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.2948, allocations: 76.23 kB / 399.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.2948, allocations: 12.97 kB / 399.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2952, allocations: 151.9 kB / 399.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.2952, allocations: 36.97 kB / 399.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.2953, allocations: 63.19 kB / 399.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.2957, allocations: 225.3 kB / 400.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2957, allocations: 0 / 400.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2957, allocations: 3.938 kB / 400.1 MB, free: 6.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.2957, allocations: 0.6094 kB / 400.1 MB, free: 6.629 MB / 318.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.001552/0.2972, allocations: 0.4966 MB / 400.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2973, allocations: 13.33 kB / 400.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2973, allocations: 45.45 kB / 400.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.2987, allocations: 192.6 kB / 400.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.2989, allocations: 154.6 kB / 401 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2989, allocations: 12.45 kB / 401 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2989, allocations: 11.44 kB / 401 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.2994, allocations: 172.8 kB / 401.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2994, allocations: 1.25 kB / 401.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2994, allocations: 4.562 kB / 401.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.2994, allocations: 14.64 kB / 401.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.2999, allocations: 162.2 kB / 401.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009747/0.3009, allocations: 0.5126 MB / 401.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.3012, allocations: 162.5 kB / 402 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.3014, allocations: 85.27 kB / 402.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3015, allocations: 7.219 kB / 402.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3015, allocations: 35.69 kB / 402.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.3015, allocations: 0 / 402.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006553/0.3022, allocations: 261.7 kB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3022, allocations: 60.73 kB / 402.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3023, allocations: 185 kB / 402.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3024, allocations: 34.73 kB / 402.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.3024, allocations: 110.8 kB / 402.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3024, allocations: 52.89 kB / 402.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.3025, allocations: 34.28 kB / 402.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.3025, allocations: 322.1 kB / 403.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3027, allocations: 73.88 kB / 403.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3029, allocations: 86.27 kB / 403.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.3032, allocations: 176 kB / 403.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3032, allocations: 1.094 kB / 403.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006124/0.3038, allocations: 212.7 kB / 403.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3039, allocations: 5.125 kB / 403.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3039, allocations: 5.375 kB / 403.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3039, allocations: 2.344 kB / 403.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.3042, allocations: 38.06 kB / 403.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3042, allocations: 1.25 kB / 403.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3044, allocations: 24.14 kB / 403.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3044, allocations: 4.906 kB / 403.8 MB, free: 4.285 MB / 318.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 8.273e-05/0.3045, allocations: 134.4 kB / 403.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3045, allocations: 18.28 kB / 404 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.305, allocations: 239.6 kB / 404.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.305, allocations: 6.312 kB / 404.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.305, allocations: 0 / 404.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.305, allocations: 2.047 kB / 404.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.3053, allocations: 244.8 kB / 404.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3053, allocations: 1.188 kB / 404.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3055, allocations: 48.53 kB / 404.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3055, allocations: 1.953 kB / 404.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3055, allocations: 2.547 kB / 404.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3055, allocations: 1.719 kB / 404.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3055, allocations: 4 kB / 404.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.306, allocations: 326.3 kB / 404.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.306, allocations: 22.8 kB / 404.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.3061, allocations: 5.25 kB / 404.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3062, allocations: 11.77 kB / 404.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.3063, allocations: 16.27 kB / 404.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3063, allocations: 5.891 kB / 404.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.934e-05/0.3064, allocations: 146.8 kB / 405 MB, free: 3.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3064, allocations: 0 / 405 MB, free: 3.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3067, allocations: 26.38 kB / 405.1 MB, free: 3.48 MB / 318.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.0006328/0.3073, allocations: 0.8588 MB / 405.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.3078, allocations: 170.6 kB / 406.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3078, allocations: 0 / 406.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.308, allocations: 91 kB / 406.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3083, allocations: 24.72 kB / 406.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3107, allocations: 2.122 MB / 408.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3109, allocations: 0.7253 MB / 409 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.311, allocations: 32.7 kB / 409.1 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3111, allocations: 55.39 kB / 409.1 MB, free: 396 kB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3111, allocations: 0 / 409.1 MB, free: 396 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.3489, allocations: 4.014 MB / 413.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.77, allocations: 12.86 kB / 413.1 MB, free: 14.6 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.180876856902614]