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.001312/0.001312, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001332/0.001332, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.435/1.435, allocations: 225.7 MB / 252.5 MB, free: 12.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 43.92 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2825, allocations: 52.18 MB / 422.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003473/0.286, allocations: 1.619 MB / 424.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2873, allocations: 0.6038 MB / 424.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.2873, allocations: 0 / 424.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.2876, allocations: 51.72 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2878, allocations: 35.72 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.289, allocations: 0.5641 MB / 425.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2893, allocations: 107.7 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2894, allocations: 21.3 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.2895, allocations: 59.78 kB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.2897, allocations: 83.58 kB / 425.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2897, allocations: 12 kB / 425.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2899, allocations: 91.95 kB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.29, allocations: 35.89 kB / 425.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.29, allocations: 47.66 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.2904, allocations: 216.9 kB / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2904, allocations: 0 / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2904, allocations: 0 / 426.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2904, allocations: 4 kB / 426.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.00157/0.292, allocations: 493.4 kB / 426.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.292, allocations: 12.03 kB / 426.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.2921, allocations: 38.75 kB / 426.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.2934, allocations: 176.6 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.2937, allocations: 162.2 kB / 426.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2937, allocations: 8.375 kB / 427 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.2937, allocations: 8.375 kB / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.2942, allocations: 181.7 kB / 427.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2942, allocations: 0 / 427.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.2942, allocations: 0 / 427.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.2942, allocations: 4 kB / 427.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.2947, allocations: 167.9 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.2957, allocations: 475.5 kB / 427.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.2961, allocations: 166.3 kB / 427.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.2963, allocations: 91.17 kB / 428 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.2964, allocations: 8 kB / 428 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2964, allocations: 38.5 kB / 428.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2964, allocations: 0 / 428.1 MB, free: 8.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000754/0.2971, allocations: 261.6 kB / 428.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.2972, allocations: 55.41 kB / 428.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.2975, allocations: 190.2 kB / 428.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2975, allocations: 25.7 kB / 428.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2976, allocations: 112.2 kB / 428.7 MB, free: 8.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.2977, allocations: 51.64 kB / 428.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.2977, allocations: 29.7 kB / 428.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.2979, allocations: 326.8 kB / 429.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2981, allocations: 67.95 kB / 429.2 MB, free: 7.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.2983, allocations: 90.45 kB / 429.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.2987, allocations: 172.4 kB / 429.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2987, allocations: 8 kB / 429.4 MB, free: 7.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004575/0.2991, allocations: 213.4 kB / 429.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2992, allocations: 4 kB / 429.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2992, allocations: 0 / 429.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.2992, allocations: 7.984 kB / 429.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2994, allocations: 35.97 kB / 429.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2994, allocations: 0 / 429.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2996, allocations: 20 kB / 429.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.2996, allocations: 4 kB / 429.7 MB, free: 7.016 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.0001211/0.2997, allocations: 141.7 kB / 429.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.2997, allocations: 15.84 kB / 429.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.3003, allocations: 249.8 kB / 430.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3004, allocations: 4 kB / 430.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3004, allocations: 0 / 430.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3004, allocations: 3.984 kB / 430.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.3007, allocations: 216.7 kB / 430.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3007, allocations: 3.938 kB / 430.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.3009, allocations: 47.83 kB / 430.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3009, allocations: 4 kB / 430.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.301, allocations: 4 kB / 430.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.301, allocations: 3.984 kB / 430.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.301, allocations: 0 / 430.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.3015, allocations: 315.3 kB / 430.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.3016, allocations: 27.73 kB / 430.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.3016, allocations: 11.98 kB / 430.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3018, allocations: 4 kB / 430.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.3018, allocations: 15.97 kB / 430.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3018, allocations: 7.984 kB / 430.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.302, allocations: 148.2 kB / 430.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.302, allocations: 0 / 430.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3022, allocations: 28 kB / 430.9 MB, free: 5.711 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.0008829/0.3031, allocations: 0.8605 MB / 431.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.3036, allocations: 170.8 kB / 432 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3036, allocations: 0 / 432 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3038, allocations: 95.88 kB / 432.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3041, allocations: 16.12 kB / 432.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.3071, allocations: 2.136 MB / 434.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3072, allocations: 119.3 kB / 434.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3073, allocations: 33.41 kB / 434.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3075, allocations: 55.41 kB / 434.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3075, allocations: 0 / 434.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.3393, allocations: 4.466 MB / 438.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.86, allocations: 4.062 kB / 438.9 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.172130616847426]